Sha256: 3d7475214ed13694490049de52ac5392eea027c4a7d1da86b7b8bb5745773f80
Contents?: true
Size: 1.2 KB
Versions: 10
Compression:
Stored size: 1.2 KB
Contents
module Coercible EXTRA_CONST_ARGS = (RUBY_VERSION < '1.9' ? [] : [ false ]).freeze UnsupportedCoercion = Class.new(StandardError) # Test for rubinius platform # # @return [true] # if running under rubinius # # @return [false] # otherwise # # @api private def self.rbx? @is_rbx ||= defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx' end end require 'date' require 'time' require 'bigdecimal' require 'bigdecimal/util' require 'set' require 'descendants_tracker' require 'support/options' require 'support/type_lookup' require 'coercible/version' require 'coercible/configuration' require 'coercible/coercer' require 'coercible/coercer/configurable' require 'coercible/coercer/object' require 'coercible/coercer/numeric' require 'coercible/coercer/float' require 'coercible/coercer/integer' require 'coercible/coercer/decimal' require 'coercible/coercer/string' require 'coercible/coercer/symbol' require 'coercible/coercer/time_coercions' require 'coercible/coercer/date' require 'coercible/coercer/date_time' require 'coercible/coercer/time' require 'coercible/coercer/false_class' require 'coercible/coercer/true_class' require 'coercible/coercer/array' require 'coercible/coercer/hash'
Version data entries
10 entries across 8 versions & 4 rubygems