Sha256: cb96d25fa8758d6076df1208c95c9d15c0ea0ed104286a9c688ad0802e54fb87

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

require "render_me_pretty/version"

module RenderMePretty
  autoload :Erb, 'render_me_pretty/erb'
  autoload :Context, 'render_me_pretty/context'

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

  extend self
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
render_me_pretty-0.2.0 lib/render_me_pretty.rb