Sha256: 4d3c7555dbbe9edfcfc849e04f8f648df5174f34138de5a321a8c6e8e311f9be
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 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 mattr_accessor :on_error self.on_error = :exit # :exit or :raise extend self end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
render_me_pretty-1.0.0 | lib/render_me_pretty.rb |