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.
52 53 54 55 56 |
# File 'lib/command-set/command.rb', line 52 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.
58 59 60 |
# File 'lib/command-set/command.rb', line 58 def pause_deck @pause_deck end |
#setup ⇒ Object (readonly)
Returns the value of attribute setup.
58 59 60 |
# File 'lib/command-set/command.rb', line 58 def setup @setup end |