Class: Terminalwire::Server::Thor::Shell
- Inherits:
-
Thor::Shell::Basic
- Object
- Thor::Shell::Basic
- Terminalwire::Server::Thor::Shell
- Extended by:
- Forwardable
- Defined in:
- lib/terminalwire/server/thor.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Encapsulates all of the IO resources for a Terminalwire adapter.
Instance Method Summary collapse
-
#initialize(context) ⇒ Shell
constructor
A new instance of Shell.
Constructor Details
#initialize(context) ⇒ Shell
Returns a new instance of Shell.
15 16 17 18 |
# File 'lib/terminalwire/server/thor.rb', line 15 def initialize(context, *, **, &) @context = context super(*,**,&) end |
Instance Attribute Details
#context ⇒ Object (readonly)
Encapsulates all of the IO resources for a Terminalwire adapter.
10 11 12 |
# File 'lib/terminalwire/server/thor.rb', line 10 def context @context end |