Skip to content

LeadingDot in MultiLine Chains with Pry, get confused with executing system command #768

Closed
@AhmedKamal20

Description

@AhmedKamal20

When you use pry as your ruby console
there is a conflict well happen with one of the rules here

Specifically, this feature
It will prevent one from using this rule

It will happen when you copy a code from your code base to execute in tour console

Example:

ReportsMailer.with(user: user, report: report)
                   .report_generated
                   .deliver_now

Error:

[1] pry(main)*   ReportsMailer.with(user: user, report: report)  
[1] pry(main)*   .report_generated               
Error: there was a problem executing system command: report_generated
[1] pry(main)*   .deliver_now               
Error: there was a problem executing system command: deliver_now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions