Top Level Namespace

Defined Under Namespace

Modules: EY, Escape, JSON, Kernel, MockModuleDecoder, MultiJson, RDoc, Railway, Result, Runner Classes: BigDecimal, Class, Complex, Date, DateTime, Exception, File, MockDecoder, OpenStruct, Range, Rational, Regexp, Struct, Symbol, Thor, Time

Instance Method Summary collapse

Instance Method Details

#jruby?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/vendor/multi_json/spec/helper.rb', line 21

def jruby?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
end

#macruby?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/vendor/multi_json/spec/helper.rb', line 17

def macruby?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == 'macruby'
end