Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#liquify(payload) ⇒ Object



2
3
4
# File 'lib/core_ext/string.rb', line 2

def liquify(payload)
  return Liquid::Template.parse(self).render(Mash.new(payload))
end