Class: DNApi::Components::Ruby193

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

Constant Summary collapse

VERSION =
'1.9.3'.freeze
PATCH_LEVEL =
'p0'.freeze

Constants inherited from RubyVersion

DNApi::Components::RubyVersion::NAME, DNApi::Components::RubyVersion::RUBYGEMS_VERSION

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, #ruby_flavor, #rubygems_version

Instance Method Details

#mysql_adapterObject



149
150
151
# File 'lib/dnapi/components/ruby.rb', line 149

def mysql_adapter
  'mysql2'
end

#ruby_moduleObject



145
146
147
# File 'lib/dnapi/components/ruby.rb', line 145

def ruby_module
  'ruby19'
end

#ruby_versionObject



141
142
143
# File 'lib/dnapi/components/ruby.rb', line 141

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