Exception: Crew::Home::UnknownContextError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/crew/home.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (readonly)

Returns the value of attribute context_name.



4
5
6
# File 'lib/crew/home.rb', line 4

def context_name
  @context_name
end