Add alias_method_chain Ruby snippet

This commit is contained in:
Mike Foley 2014-09-08 14:55:41 -07:00
parent e3c2931bef
commit 56826e4ed6

View File

@ -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}