Class: Hanami::Commands::Routes Private
- Defined in:
- lib/hanami/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 hanami routes`
Instance Method Summary collapse
-
#start ⇒ Object
private
Display to STDOUT application routes.
Methods inherited from Command
Constructor Details
This class inherits a constructor from Hanami::Commands::Command
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
19 20 21 |
# File 'lib/hanami/commands/routes.rb', line 19 def start puts requirements['routes.inspector'].inspect end |