Class: Helm::Commands::Command
- Inherits:
-
Object
- Object
- Helm::Commands::Command
- Defined in:
- lib/helm/commands/command.rb
Instance Attribute Summary collapse
-
#session ⇒ Object
readonly
Returns the value of attribute session.
Instance Method Summary collapse
-
#initialize(session) ⇒ Command
constructor
A new instance of Command.
- #parameters(*names) ⇒ Object
Constructor Details
#initialize(session) ⇒ Command
10 11 12 |
# File 'lib/helm/commands/command.rb', line 10 def initialize(session) @session = session end |
Instance Attribute Details
#session ⇒ Object (readonly)
Returns the value of attribute session.
4 5 6 |
# File 'lib/helm/commands/command.rb', line 4 def session @session end |
Instance Method Details
#parameters(*names) ⇒ Object
6 7 8 |
# File 'lib/helm/commands/command.rb', line 6 def parameters(*names) session.configure_params(*names) end |