Class: Hanami::Commands::Routes Private

Inherits:
Command
  • Object
show all
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`

Since:

  • 0.1.0

Instance Method Summary collapse

Methods inherited from Command

inherited, #initialize

Constructor Details

This class inherits a constructor from Hanami::Commands::Command

Instance Method Details

#startObject

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

Since:

  • 0.1.0



19
20
21
# File 'lib/hanami/commands/routes.rb', line 19

def start
  puts requirements['routes.inspector'].inspect
end