lib/microevent.rb in microevent-1.0.0 vs lib/microevent.rb in microevent-1.0.1

- old
+ new

@@ -1,6 +1,6 @@ module MicroEvent - VERSION = "1.0.0".freeze + VERSION = "1.0.1".freeze def bind(event, &fn) @_ ||= Hash.new{ |h,k| h[k] = [] } fn ? @_[event] << fn : raise(ArgumentError, "no block given") end