Class: Kube::Helm::Instance
- Inherits:
-
Object
- Object
- Kube::Helm::Instance
- Defined in:
- lib/kube/helm/instance.rb
Instance Method Summary collapse
-
#call(&block) ⇒ Object
def initialize(kubeconfig: ENV) @kubeconfig = kubeconfig end.
- #run(string) ⇒ Object
Instance Method Details
#call(&block) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/kube/helm/instance.rb', line 12 def call(&block) if block sb.instance_eval(&block) end #StringBuilder.new.tap do |sb| # if block # sb.instance_eval(&block) # end #end end |