From 56826e4ed6e44a35d04b7c2606006fa49f88de78 Mon Sep 17 00:00:00 2001 From: Mike Foley Date: Mon, 8 Sep 2014 14:55:41 -0700 Subject: [PATCH] Add alias_method_chain Ruby snippet --- snippets/ruby.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index fd4172c..dce1861 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -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}