Module: Aruba::Console::Help
- Defined in:
 - lib/aruba/console/help.rb
 
Overview
Helpers for Aruba::Console
Instance Method Summary collapse
- 
  
    
      #aruba_help  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Output help information.
 - 
  
    
      #aruba_methods  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
List available methods in aruba.
 
Instance Method Details
#aruba_help ⇒ Object
Output help information
      12 13 14 15 16 17 18 19 20  | 
    
      # File 'lib/aruba/console/help.rb', line 12 def aruba_help puts "Aruba Version: #{Aruba::VERSION}" puts 'Issue Tracker: https://github.com/cucumber/aruba/issues' puts 'Documentation:' puts '* http://www.rubydoc.info/gems/aruba' puts nil end  | 
  
#aruba_methods ⇒ Object
List available methods in aruba
      23 24 25 26 27 28 29 30 31  | 
    
      # File 'lib/aruba/console/help.rb', line 23 def aruba_methods ms = (Aruba::Api.instance_methods - Module.instance_methods) .each_with_object([]) { |e, a| a << format('* %s', e) } .sort puts "Available Methods:\n#{ms.join("\n")}" nil end  |