Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/gameplan/fuck_ruby.rb
Instance Method Summary collapse
-
#app(type, &blk) ⇒ Object
sorry ruby, had to do it.
- #common_state(name, &blk) ⇒ Object
- #goto(state) ⇒ Object
- #pending_state(name, &blk) ⇒ Object
- #state(name, &blk) ⇒ Object
Instance Method Details
#app(type, &blk) ⇒ Object
sorry ruby, had to do it.
6 7 8 |
# File 'lib/gameplan/fuck_ruby.rb', line 6 def app(type, &blk) GameplanInstance.app(self, type, &blk) end |
#common_state(name, &blk) ⇒ Object
10 11 12 |
# File 'lib/gameplan/fuck_ruby.rb', line 10 def common_state(name, &blk) GameplanInstance.last_app.common_state(name, self, &blk) end |
#goto(state) ⇒ Object
14 15 16 |
# File 'lib/gameplan/fuck_ruby.rb', line 14 def goto(state) GameplanInstance.last_app.last_state.endpoint(state, self) end |
#pending_state(name, &blk) ⇒ Object
22 23 24 |
# File 'lib/gameplan/fuck_ruby.rb', line 22 def pending_state(name, &blk) GameplanInstance.last_app.pending_state(name, self) end |
#state(name, &blk) ⇒ Object
18 19 20 |
# File 'lib/gameplan/fuck_ruby.rb', line 18 def state(name, &blk) GameplanInstance.last_app.state(name, self, &blk) end |