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 " Ruby \#{RUBY_DESCRIPTION}\n Rubygems \#{Gem::VERSION}\n Bundler \#{defined?(Bundler::VERSION) ? Bundler::VERSION : 'N/A'}\n Command \#{$PROGRAM_NAME} \#{ARGV.join(' ')}\n OUT\nend\n".gsub(/^\s+/, "") |