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:



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

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

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



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

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