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



96
97
98
# File 'lib/rubocop/cop/mixin/hash_alignment.rb', line 96

def deltas_for_first_pair(*_nodes)
  {}
end