Class: Riot::Situation
- Inherits:
-
Object
- Object
- Riot::Situation
- Defined in:
- lib/riot/situation.rb
Instance Attribute Summary collapse
-
#topic ⇒ Object
Returns the value of attribute topic.
Instance Method Summary collapse
Instance Attribute Details
#topic ⇒ Object
Returns the value of attribute topic.
3 4 5 |
# File 'lib/riot/situation.rb', line 3 def topic @topic end |
Instance Method Details
#fail(message) ⇒ Object
5 6 7 |
# File 'lib/riot/situation.rb', line 5 def fail() raise Failure.new() end |