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



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

def deltas_for_first_pair(*_nodes)
  {}
end