Skip to content

Conversation

@semaperepelitsa
Copy link
Owner

I will make a release once I test this on a real project.

@semaperepelitsa semaperepelitsa self-assigned this Aug 14, 2018
class RubyWarningFilter < DelegateClass(IO)
attr_reader :ruby_warnings
BACKTRACE = "\tfrom"
NEWLINE = "\n"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can keep string literals inline with # frozen_string_literal: true comment directive.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but I still prefer to keep all conditions in named constants for readability & consistency.

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

Successfully merging this pull request may close these issues.

4 participants