Class: Helm::Commands::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/helm/commands/command.rb

Direct Known Subclasses

Assign, Create, Info, List, Resolve, Show, Upload

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#sessionObject (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