Merge pull request #441 from m1foley/ruby_alias_method_chain
Add alias_method_chain Ruby snippet
This commit is contained in:
commit
ac1d4b970e
@ -209,6 +209,8 @@ snippet defds
|
||||
def_delegators :${1:@del_obj}, :${0:del_methods}
|
||||
snippet am
|
||||
alias_method :${1:new_name}, :${0:old_name}
|
||||
snippet amc
|
||||
alias_method_chain :${1:name}, :${0:feature}
|
||||
snippet app
|
||||
if __FILE__ == $PROGRAM_NAME
|
||||
${0}
|
||||
|
Loading…
Reference in New Issue
Block a user