Class | Module |
In: |
lib/sugar-high/alias.rb
lib/sugar-high/includes.rb lib/sugar-high/module.rb |
Parent: | Object |
multi_alias name, :create => :new, :insert_into => [:inject_into, :update], :read => :X_content
:options => :after
create_xxx becomes new_xxx insert_into_xxx becomes inject_into_xxx and update_xxx read_xxx becomes xxx_content (overriding default :after action to insert at the X)