Class: Hanami::Router::Formatter::HumanFriendly Private
- Inherits:
-
Object
- Object
- Hanami::Router::Formatter::HumanFriendly
- Defined in:
- lib/hanami/router/formatter/human_friendly.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.
Instance Method Summary collapse
- #call(routes) ⇒ Object private
Instance Method Details
#call(routes) ⇒ 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.
38 39 40 |
# File 'lib/hanami/router/formatter/human_friendly.rb', line 38 def call(routes) routes.filter_map(&method(:format_route_unless_head)).join(NEW_LINE) end |