Module: RelevanceRails
- Defined in:
- lib/relevance_rails.rb,
lib/relevance_rails/runner.rb,
lib/relevance_rails/railtie.rb,
lib/relevance_rails/version.rb,
lib/relevance_rails/provision.rb,
lib/relevance_rails/generator_overrides.rb
Defined Under Namespace
Modules: GeneratorOverrides, Provision, PublicKeyFetcher Classes: Railtie, Runner
Constant Summary collapse
- VERSION =
"0.2.1"
Class Method Summary collapse
Class Method Details
.ruby_version ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/relevance_rails.rb', line 7 def self.ruby_version @ruby_version ||= begin if RUBY_DESCRIPTION[/Ruby Enterprise Edition (\d{4}\.\d\d)/, 1] "ree-#{RUBY_VERSION}-#{$1}" else "ruby-#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" end end end |