lib/surrounded/shortcuts.rb in surrounded-0.8.4 vs lib/surrounded/shortcuts.rb in surrounded-0.9.0
- old
+ new
@@ -6,14 +6,13 @@
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
- @triggers.merge(names)
+ super
end
end
end
\ No newline at end of file