Class: DNApi::Components::JRuby

Inherits:
RubyVersion show all
Defined in:
lib/dnapi/components/ruby.rb

Direct Known Subclasses

JRuby187, JRuby192

Constant Summary collapse

NAME =
'JRuby'.freeze
VERSION =
'1.6.7'.freeze
PATCH_LEVEL =
nil
RUBYGEMS_VERSION =
'1.5.1'.freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from RubyVersion

all, encoding_aware, #mysql_adapter, #rubygems_version

Class Method Details

.labelObject



160
161
162
# File 'lib/dnapi/components/ruby.rb', line 160

def self.label
  "#{super} #{compat_version}"
end

Instance Method Details

#ruby_flavorObject



168
169
170
# File 'lib/dnapi/components/ruby.rb', line 168

def ruby_flavor
  'dev-java/jruby-bin'
end

#ruby_moduleObject



172
173
174
# File 'lib/dnapi/components/ruby.rb', line 172

def ruby_module
  'rubyjruby16'
end

#ruby_versionObject



164
165
166
# File 'lib/dnapi/components/ruby.rb', line 164

def ruby_version
  version
end