Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AhmedKamal20 opened this issue Jul 1, 2019 · 1 comment

Comments

@AhmedKamal20
Copy link

AhmedKamal20 commented Jul 1, 2019

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

@pirj
Copy link
Member

pirj commented Jul 4, 2019

This pry#1524 may help in some way.

Related to #176.

@pirj pirj closed this as completed Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants