Sha256: 2bdee69259f135b882ded29c93786c628ce9730e805f5a28402d8caf865e9791
Contents?: true
Size: 360 Bytes
Versions: 6
Compression:
Stored size: 360 Bytes
Contents
require 'shen_ruby' module EvalShen def eval_shen(str) @shen.eval_string(str) end def expect_shen(str) expect(eval_shen(str)) end end RSpec.configure do |cfg| # Support eval_kl and friends in functional specs cfg.include EvalShen, :type => :functional cfg.before(:all, :type => :functional) do @shen = ShenRuby::Shen.new end end
Version data entries
6 entries across 6 versions & 1 rubygems