Skip to content

Commit f4883ab

Browse files
committed
1.1.0
1 parent 77b18fd commit f4883ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ test.my_event_one.add_observer(object1) # changes will call object1.update
4545
test.my_event_one.add_observer(object2, :log) # changes will call object2.log
4646
test.my_event_one.change # mark as changed, can be called multiple times
4747
test.my_event_one.notify_observers(*args) # run the observers methods with given args
48+
test.my_event_one.change_and_notify(*args) # mark as changed and run the observers methods with given args
4849
```
4950

5051
## Writing your own notifier

lib/ruby/hooks/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Ruby
88
# Helpers for multiple publish/subscribe hooks
99
module Hooks
1010
# Rubygems version of Ruby::Hooks
11-
VERSION = "1.0.0"
11+
VERSION = "1.1.0"
1212
end
1313
end
1414

0 commit comments

Comments
 (0)