Exception: Crew::Home::UnknownContextError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Crew::Home::UnknownContextError
- Defined in:
- lib/crew/home.rb
Instance Attribute Summary collapse
-
#context_name ⇒ Object
readonly
Returns the value of attribute context_name.
Instance Method Summary collapse
-
#initialize(context_name) ⇒ UnknownContextError
constructor
A new instance of UnknownContextError.
Constructor Details
#initialize(context_name) ⇒ UnknownContextError
Returns a new instance of UnknownContextError.
6 7 8 9 |
# File 'lib/crew/home.rb', line 6 def initialize(context_name) @context_name = context_name super "Could not find context for #{context_name.inspect}" end |
Instance Attribute Details
#context_name ⇒ Object (readonly)
Returns the value of attribute context_name.
4 5 6 |
# File 'lib/crew/home.rb', line 4 def context_name @context_name end |