Class: KubernetesHelper::ErbBinding

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/kubernetes_helper/core.rb

Instance Method Summary collapse

Instance Method Details

#get_bindingObject

rubocop:disable Naming/AccessorMethodName:



10
11
12
# File 'lib/kubernetes_helper/core.rb', line 10

def get_binding # rubocop:disable Naming/AccessorMethodName:
  binding
end

#include_template(name, locals = {}) ⇒ Object



14
15
16
# File 'lib/kubernetes_helper/core.rb', line 14

def include_template(name, locals = {})
  render_template.call(name, locals)
end