README.md in surrounded-0.7.3 vs README.md in surrounded-0.8.0
- old
+ new
@@ -543,10 +543,10 @@
# so you can do ActiviatingAccount.some_trigger_method(activator, account)
# This will make all triggers shortcuts.
shortcut_triggers
# Alterantively, you could implement shortcuts individually:
def self.some_trigger_method(activator, account)
- instance = self.new(activator.account)
+ instance = self.new(activator, account)
instance.some_trigger_method
end
end
```