Class: RuboCop::Cop::HashAlignmentStyles::SeparatorAlignment

Inherits:
Object
  • Object
show all
Includes:
ValueAlignment
Defined in:
lib/rubocop/cop/mixin/hash_alignment_styles.rb

Overview

Handles calculation of deltas when the enforced style is ‘separator’.

Instance Method Summary collapse

Methods included from ValueAlignment

#checkable_layout?, #deltas

Instance Method Details

#deltas_for_first_pair(*_nodes) ⇒ Object



123
124
125
# File 'lib/rubocop/cop/mixin/hash_alignment_styles.rb', line 123

def deltas_for_first_pair(*_nodes)
  {}
end