Class: Capistrano::Doctor::EnvironmentDoctor
- Inherits:
-
Object
- Object
- Capistrano::Doctor::EnvironmentDoctor
- Includes:
- OutputHelpers
- Defined in:
- lib/capistrano/doctor/environment_doctor.rb
Instance Method Summary collapse
Methods included from OutputHelpers
#puts, #table, #title, #warning
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/capistrano/doctor/environment_doctor.rb', line 8 def call title("Environment") puts <<-OUT.gsub(/^\s+/, "") Ruby #{RUBY_DESCRIPTION} Rubygems #{Gem::VERSION} Bundler #{defined?(Bundler::VERSION) ? Bundler::VERSION : 'N/A'} Command #{$PROGRAM_NAME} #{ARGV.join(' ')} OUT end |