Sha256: 31f283703f4e9152f0944a4054c97f05dec7f61300c94b14768a1da481bdf382
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion_coercible-0.2.0 | lib/project/coercible.rb |