Class: Kubes::Kubectl::Args::Base
- Inherits:
-
Object
- Object
- Kubes::Kubectl::Args::Base
- Defined in:
- lib/kubes/kubectl/args/base.rb
Instance Method Summary collapse
- #args ⇒ Object
-
#initialize(name, options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(name, options = {}) ⇒ Base
Returns a new instance of Base.
3 4 5 |
# File 'lib/kubes/kubectl/args/base.rb', line 3 def initialize(name, ={}) @name, @options = name.to_s, end |
Instance Method Details
#args ⇒ Object
7 8 9 10 |
# File 'lib/kubes/kubectl/args/base.rb', line 7 def args meth = "#{@name}_args" # IE: apply_args send(meth) end |