Class: Lotus::Commands::Routes Private
- Inherits:
 - 
      Object
      
        
- Object
 - Lotus::Commands::Routes
 
 
- Defined in:
 - lib/lotus/commands/routes.rb
 
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Display application/container routes.
It is run with:
`bundle exec lotus routes`
  Instance Method Summary collapse
- 
  
    
      #initialize(options)  ⇒ Routes 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    
A new instance of Routes.
 - 
  
    
      #start  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
Display to STDOUT application routes.
 
Constructor Details
#initialize(options) ⇒ Routes
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Routes.
      16 17 18 19  | 
    
      # File 'lib/lotus/commands/routes.rb', line 16 def initialize() @environment = Lotus::Environment.new() @environment.require_application_environment end  | 
  
Instance Method Details
#start ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Display to STDOUT application routes
      24 25 26  | 
    
      # File 'lib/lotus/commands/routes.rb', line 24 def start puts app.routes.inspector.to_s end  |