Class: RungerStyle::ArgumentAlignment
- Inherits:
-
RuboCop::Cop::Layout::ArgumentAlignment
- Object
- RuboCop::Cop::Layout::ArgumentAlignment
- RungerStyle::ArgumentAlignment
- Defined in:
- lib/runger_style/cops/default/argument_alignment.rb
Instance Method Summary collapse
Instance Method Details
#on_send(node) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/runger_style/cops/default/argument_alignment.rb', line 5 def on_send(node) previous_fixed_indentation = @fixed_indentation @fixed_indentation = node.macro? && !node.parenthesized_call? super ensure @fixed_indentation = previous_fixed_indentation end |