Sha256: 4dfc2f30094f802b40ce9db4c8b14ff90d9f85c57ce57195e56c42b272364f23

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

require "render_me_pretty/version"
require "active_support"
require "active_support/core_ext/string"
require "rainbow/ext/string"

module RenderMePretty
  autoload :Erb, 'render_me_pretty/erb'

  def result(path, variables={})
    erb = Erb.new(path, variables)
    erb.render
  end

  extend self
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
render_me_pretty-0.9.0 lib/render_me_pretty.rb
render_me_pretty-0.8.4 lib/render_me_pretty.rb