Class: JSRailsRoutes::Builder
- Inherits:
-
Object
- Object
- JSRailsRoutes::Builder
- Defined in:
- lib/js_rails_routes/builder.rb
Defined Under Namespace
Classes: Artifact
Instance Attribute Summary collapse
- #language ⇒ JSRailsRoutes::Language::Base readonly
- #route_set_list ⇒ Array<JSRailsRoutes::RouteSet> readonly
Instance Method Summary collapse
- #build ⇒ Array<Artifact>
-
#initialize(language, route_set_list = RouteSet.correct_matching_route_set_list) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(language, route_set_list = RouteSet.correct_matching_route_set_list) ⇒ Builder
Returns a new instance of Builder.
22 23 24 25 |
# File 'lib/js_rails_routes/builder.rb', line 22 def initialize(language, route_set_list = RouteSet.correct_matching_route_set_list) @language = language @route_set_list = route_set_list end |
Instance Attribute Details
#language ⇒ JSRailsRoutes::Language::Base (readonly)
18 19 20 |
# File 'lib/js_rails_routes/builder.rb', line 18 def language @language end |
#route_set_list ⇒ Array<JSRailsRoutes::RouteSet> (readonly)
15 16 17 |
# File 'lib/js_rails_routes/builder.rb', line 15 def route_set_list @route_set_list end |