README.md in matrioska-0.0.2 vs README.md in matrioska-0.1.0
- old
+ new
@@ -5,21 +5,17 @@
By mapping controllers or blocks to the desired applications, a listener object waits for DTMF and reacts by executing the specified payload.
## Usage Example
```ruby
-#inside your controller
+# inside your controller
runner = Matrioska::AppRunner.new self
runner.map_app 3 do
logger.info "hi there!"
end
runner.map_app 5, AppController
-call.on_end do
- runner.stop
-end
-
runner.start
```
### Author
@@ -40,6 +36,6 @@
* If you want to have your own version, that is fine but bump version in a commit by itself so I can ignore when I pull
* Send me a pull request. Bonus points for topic branches.
### Copyright
-Copyright (c) 2013 Adhearsion Foundation Inc. MIT license (see LICENSE for details).
\ No newline at end of file
+Copyright (c) 2013 Adhearsion Foundation Inc. MIT license (see LICENSE for details).