lib/waffle/event.rb in waffle-0.2.1 vs lib/waffle/event.rb in waffle-0.2.2
- old
+ new
@@ -7,9 +7,10 @@
class << self
# Syntactic sugar ^_^
def occured(*args)
self.instance.occured(*args)
end
+ alias :occurred :occured
end
def transport
@transport ||= Waffle::Base.new eval("Waffle::Transports::#{Waffle::Config.transport.capitalize}").new
end