Class: DNApi::Components::REE

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

Constant Summary collapse

NAME =
'REE'.freeze
VERSION =
'1.8.7'.freeze
PATCH_LEVEL =
'2012.02'.freeze
RUBYGEMS_VERSION =
'1.5.2'.freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods included from DNApi::Component

[], #can_belong_to?, components, from, included, #key, #to_hash

Methods inherited from RubyVersion

all, encoding_aware, #mysql_adapter, #rubygems_version

Class Method Details

.labelObject



91
92
93
# File 'lib/dnapi/components/ruby.rb', line 91

def self.label
  self::NAME
end

Instance Method Details

#ruby_flavorObject



99
100
101
# File 'lib/dnapi/components/ruby.rb', line 99

def ruby_flavor
  'dev-lang/ruby-enterprise'
end

#ruby_moduleObject



103
104
105
# File 'lib/dnapi/components/ruby.rb', line 103

def ruby_module
  'rubyee'
end

#ruby_versionObject



95
96
97
# File 'lib/dnapi/components/ruby.rb', line 95

def ruby_version
  "#{version}.#{patch_level}"
end