Sha256: ee4fc5693686bcd2ba9ae1c4f5af1d5697e0cab32ef223bbd997836a99143506
Contents?: true
Size: 749 Bytes
Versions: 79
Compression:
Stored size: 749 Bytes
Contents
# Ubuntu does not accept arguments to ruby when called using env. To get warnings to show up the -w options is # required. That can be set in the RUBYOPT environment variable. # export RUBYOPT=-w $VERBOSE = true %w(lib ext test).each do |dir| $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__) end require 'rubygems' if RUBY_VERSION.start_with?('1.8.') require 'minitest' require 'minitest/autorun' require 'stringio' require 'date' require 'bigdecimal' require 'pp' require 'oj' $ruby = RUBY_DESCRIPTION.split(' ')[0] $ruby = 'ree' if 'ruby' == $ruby && RUBY_DESCRIPTION.include?('Ruby Enterprise Edition') class Range def to_hash() { 'begin' => self.begin, 'end' => self.end, 'exclude_end' => self.exclude_end? } end end
Version data entries
79 entries across 79 versions & 1 rubygems