Class: Terminalwire::V2::Server::Thor::Shell
- Inherits:
-
Thor::Shell::Basic
- Object
- Thor::Shell::Basic
- Terminalwire::V2::Server::Thor::Shell
- Defined in:
- lib/terminalwire/v2/server/thor.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context, *args, **kwargs, &block) ⇒ Shell
constructor
A new instance of Shell.
Constructor Details
#initialize(context, *args, **kwargs, &block) ⇒ Shell
Returns a new instance of Shell.
38 39 40 41 |
# File 'lib/terminalwire/v2/server/thor.rb', line 38 def initialize(context, *args, **kwargs, &block) @context = context super(*args, **kwargs, &block) end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
36 37 38 |
# File 'lib/terminalwire/v2/server/thor.rb', line 36 def context @context end |