Sha256: 68c645d95838fa545bf9082c6fd5039446e460fb80fe90992c16bbdcb7dcf036

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

class Ruby
  
  def self.engine
    RUBY_ENGINE
  end

  def self.platform
    RUBY_PLATFORM
  end

  def self.version
    RUBY_VERSION
  end

  def self.mri?
    engine == 'ruby'
  end

  def self.jruby?
    engine == 'jruby'
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
core_extended-0.0.10 lib/core_extended/ruby.rb
core_extended-0.0.9 lib/core_extended/ruby.rb
core_extended-0.0.8 lib/core_extended/ruby.rb
core_extended-0.0.7 lib/core_extended/ruby.rb
core_extended-0.0.6 lib/core_extended/ruby.rb