Module: Wallaby::Prefixable::ClassMethods

Defined in:
lib/concerns/wallaby/prefixable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mapping_actionsObject



18
19
20
# File 'lib/concerns/wallaby/prefixable.rb', line 18

def mapping_actions
  @mapping_actions || superclass.try(:mapping_actions) || MAPPING_ACTIONS
end

Instance Method Details

#add_mapping_actions(options) ⇒ Object



22
23
24
# File 'lib/concerns/wallaby/prefixable.rb', line 22

def add_mapping_actions(options)
  @mapping_actions = mapping_actions.merge(options)
end