Class: RuboCop::Cop::Style::AlignHash::SeparatorAlignment
- Inherits:
-
AlignmentOfValues
- Object
- AlignmentOfValues
- RuboCop::Cop::Style::AlignHash::SeparatorAlignment
- Defined in:
- lib/rubocop/cop/style/align_hash.rb
Overview
Handles calculation of deltas when the enforced style is ‘separator’.
Instance Method Summary collapse
Methods inherited from AlignmentOfValues
Methods included from HashNode
Instance Method Details
#deltas_for_first_pair ⇒ Object
114 115 116 |
# File 'lib/rubocop/cop/style/align_hash.rb', line 114 def deltas_for_first_pair(*) {} # The first pair is always considered correct. end |