$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'alf' require "rspec" Alf::Lispy.extend(Alf::Lispy) def _(path, file) File.expand_path("../#{path}", file) end def wlang(str, binding) str.gsub(/\$\(([\S]+)\)/){ Kernel.eval($1, binding) } end require 'shared/an_operator_class' require 'shared/a_valid_type_implementation' require 'shared/a_value' RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run :hash_ordering => lambda{|val| not(val) or (RUBY_VERSION >= "1.9") } end