Class: Tramway::Configs::Entities::Route
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Tramway::Configs::Entities::Route
- Defined in:
- lib/tramway/configs/entities/route.rb
Overview
Route struct describes rules for route management
Instance Method Summary collapse
Instance Method Details
#helper_method_by(underscored_name) ⇒ Object
12 13 14 |
# File 'lib/tramway/configs/entities/route.rb', line 12 def helper_method_by(underscored_name) "#{[namespace, route_method || underscored_name].compact.join('_')}_path" end |