Sha256: f0e8a47e076ddf28d6ae975ff7f8d287820f7dfbfbd348ad80d688ab82197279

Contents?: true

Size: 111 Bytes

Versions: 3

Compression:

Stored size: 111 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stack-0.0.9 lib/core_ext/string.rb
stack-0.0.8 lib/core_ext/string.rb
stack-0.0.7 lib/core_ext/string.rb