lib/surrounded/shortcuts.rb in surrounded-0.9.9 vs lib/surrounded/shortcuts.rb in surrounded-0.9.10
- old
+ new
@@ -6,9 +6,10 @@
singleton_class.send(:define_method, name) do |*args|
instance = self.new(*args)
instance.public_send(name)
end
end
+
def store_trigger(*names)
names.each do |name|
define_shortcut(name)
end
super
\ No newline at end of file