Exception: Stemcell::MissingStemcellOptionError
- Defined in:
- lib/stemcell/errors.rb
Instance Attribute Summary collapse
-
#option ⇒ Object
readonly
Returns the value of attribute option.
Instance Method Summary collapse
-
#initialize(option) ⇒ MissingStemcellOptionError
constructor
A new instance of MissingStemcellOptionError.
Constructor Details
#initialize(option) ⇒ MissingStemcellOptionError
Returns a new instance of MissingStemcellOptionError.
21 22 23 24 |
# File 'lib/stemcell/errors.rb', line 21 def initialize(option) super "Missing option: #{option}" @option = option end |
Instance Attribute Details
#option ⇒ Object (readonly)
Returns the value of attribute option.
20 21 22 |
# File 'lib/stemcell/errors.rb', line 20 def option @option end |