Class | Nitpick::Warnings::UnprotectedBlock |
In: |
lib/nitpick/warnings/unprotected_block.rb
|
Parent: | SimpleWarning |
condition | [R] | |
no_branch | [R] | |
yes_branch | [R] |
# File lib/nitpick/warnings/unprotected_block.rb, line 6 def initialize(*args) @condition, @yes_branch, @no_branch = args end
# File lib/nitpick/warnings/unprotected_block.rb, line 15 def ==(other) yes_branch == other.yes_branch && no_branch == other.no_branch end