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