Class: Rack::App::Endpoint::Builder
- Inherits:
-
Object
- Object
- Rack::App::Endpoint::Builder
- Defined in:
- lib/rack/app/endpoint/builder.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ Builder
constructor
A new instance of Builder.
- #to_app ⇒ Object
Constructor Details
#initialize(config) ⇒ Builder
Returns a new instance of Builder.
5 6 7 |
# File 'lib/rack/app/endpoint/builder.rb', line 5 def initialize(config) @config = config end |
Instance Method Details
#to_app ⇒ Object
9 10 11 |
# File 'lib/rack/app/endpoint/builder.rb', line 9 def to_app build.to_app end |