class RuboCop::Cop::VariableForce::For
for element in collection
loop_body
end
Public Instance Methods
Source
# File lib/rubocop/cop/variable_force/branch.rb, line 252 def always_run? element? || collection? end
for element in collection
loop_body
end
# File lib/rubocop/cop/variable_force/branch.rb, line 252 def always_run? element? || collection? end