Method: Hanami::API::Router#to_inspect

Defined in:
lib/hanami/api/router.rb

#to_inspectString

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 formatted routes

Returns:

  • (String)

    formatted routes

Since:

  • x.x.x



49
50
51
# File 'lib/hanami/api/router.rb', line 49

def to_inspect
  @inspector.call
end