README.rdoc in event_emitter-0.0.1 vs README.rdoc in event_emitter-0.0.2

- old
+ new

@@ -30,9 +30,28 @@ call event foo.emit :chat, {:user => 'shokai', :message => 'hello!!'} # => chat - shokai : hello!! +regist event using "once" + + foo.once :bar do |data| + puts data + end + +call + + foo.emit :bar, 100 # => call only first time + foo.emit :bar, 200 # => not call + +see samples https://github.com/shokai/event_emitter/tree/master/samples + +== TEST: + + % gem install bundler + % bundle install + % rake test + == LICENSE: (The MIT License) Copyright (c) 2012 Sho Hashimoto