Exception: Blaze::Configuration::MissingOption
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Blaze::Configuration::MissingOption
- Defined in:
- lib/blaze/configuration.rb
Instance Method Summary collapse
-
#initialize(option) ⇒ MissingOption
constructor
A new instance of MissingOption.
- #to_s ⇒ Object
Constructor Details
#initialize(option) ⇒ MissingOption
Returns a new instance of MissingOption.
25 26 27 |
# File 'lib/blaze/configuration.rb', line 25 def initialize(option) @option = option end |
Instance Method Details
#to_s ⇒ Object
29 30 31 |
# File 'lib/blaze/configuration.rb', line 29 def to_s "Please specify the #{@option} option" end |