Method: AnnotateModels.options_with_position

Defined in:
lib/annotate/annotate_models.rb

.options_with_position(options, position_in) ⇒ Object

position = :position_in_fixture or :position_in_class



662
663
664
# File 'lib/annotate/annotate_models.rb', line 662

def options_with_position(options, position_in)
  options.merge(position: (options[position_in] || options[:position]))
end