Sha256: 65504e10dc46c1e33e5b15e8fbfef85b5ba2a657afeddae214a259a2a77350fb
Contents?: true
Size: 522 Bytes
Versions: 2
Compression:
Stored size: 522 Bytes
Contents
require "dsl_evaluator/version" require "rainbow/ext/string" module DslEvaluator autoload :Printer, "dsl_evaluator/printer" class Error < StandardError; end def evaluate_file(path) return unless path && File.file?(path) instance_eval(IO.read(path), path) rescue Exception => e Printer.new(e).print puts "\nFull error:" raise end @@backtrace_reject = nil def backtrace_reject @@backtrace_reject end def backtrace_reject=(v) @@backtrace_reject = v end extend self end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dsl_evaluator-0.1.3 | lib/dsl_evaluator.rb |
dsl_evaluator-0.1.2 | lib/dsl_evaluator.rb |