Exception: Command::ResumeFrom
- Inherits:
-
Exception
- Object
- Exception
- Command::ResumeFrom
- Defined in:
- lib/command-set/command.rb
Overview
An overworked exception class. It captures details about the command being interrupted as it propagates up the stack.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#pause_deck ⇒ Object
readonly
Returns the value of attribute pause_deck.
-
#setup ⇒ Object
readonly
Returns the value of attribute setup.
Instance Method Summary collapse
-
#initialize(pause_deck, msg = "") ⇒ ResumeFrom
constructor
A new instance of ResumeFrom.
Constructor Details
#initialize(pause_deck, msg = "") ⇒ ResumeFrom
Returns a new instance of ResumeFrom.
97 98 99 100 101 |
# File 'lib/command-set/command.rb', line 97 def initialize(pause_deck, msg = "") super(msg) @setup = CommandSetup.new @pause_deck = pause_deck end |
Instance Attribute Details
#pause_deck ⇒ Object (readonly)
Returns the value of attribute pause_deck.
103 104 105 |
# File 'lib/command-set/command.rb', line 103 def pause_deck @pause_deck end |
#setup ⇒ Object (readonly)
Returns the value of attribute setup.
103 104 105 |
# File 'lib/command-set/command.rb', line 103 def setup @setup end |