Module: Foreman
- Defined in:
- lib/foreman.rb,
lib/foreman/version.rb,
lib/foreman/distribution.rb
Defined Under Namespace
Modules: Distribution, Export, Helpers
Classes: AppDoesNotExist, CLI, Engine, Env, Process, Procfile
Constant Summary
collapse
- VERSION =
"0.52.0"
Class Method Summary
collapse
Class Method Details
.jruby? ⇒ Boolean
11
12
13
|
# File 'lib/foreman.rb', line 11
def self.jruby?
defined?(RUBY_PLATFORM) and RUBY_PLATFORM == "java"
end
|
.ruby_18? ⇒ Boolean
15
16
17
|
# File 'lib/foreman.rb', line 15
def self.ruby_18?
defined?(RUBY_VERSION) and RUBY_VERSION =~ /^1\.8\.\d+/
end
|
.runner ⇒ Object
7
8
9
|
# File 'lib/foreman.rb', line 7
def self.runner
File.expand_path("../../bin/foreman-runner", __FILE__)
end
|
.windows? ⇒ Boolean
19
20
21
|
# File 'lib/foreman.rb', line 19
def self.windows?
defined?(RUBY_PLATFORM) and RUBY_PLATFORM =~ /(win|w)32$/
end
|