Class: RuboCop::Cop::HashAlignment::SeparatorAlignment

Inherits:
Object
  • Object
show all
Includes:
ValueAlignment
Defined in:
lib/rubocop/cop/mixin/hash_alignment.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



127
128
129
# File 'lib/rubocop/cop/mixin/hash_alignment.rb', line 127

def deltas_for_first_pair(*_nodes)
  {}
end