Class: Kerbi::Utils::Values::ErbWrapper

Inherits:
Object
  • Object
show all
Includes:
Mixins::Mixer
Defined in:
lib/utils/values.rb

Instance Method Summary collapse

Methods included from Mixins::Mixer

#b64dec, #b64enc, #b64enc_file, #embed, #embed_array, #http_descriptor_to_url

Instance Method Details

#interpolate(file_cont) ⇒ Object



118
119
120
# File 'lib/utils/values.rb', line 118

def interpolate(file_cont)
  ERB.new(file_cont).result(binding)
end