Class: Rack::App::Payload::Builder
- Inherits:
-
Object
- Object
- Rack::App::Payload::Builder
- Defined in:
- lib/rack/app/payload/builder.rb
Instance Method Summary collapse
- #parser_builder(&block) ⇒ Object (also: #parser, #configure_parser)
Instance Method Details
#parser_builder(&block) ⇒ Object Also known as: parser, configure_parser
3 4 5 6 7 |
# File 'lib/rack/app/payload/builder.rb', line 3 def parser_builder(&block) @parser_builder ||= Rack::App::Payload::Parser::Builder.new @parser_builder.instance_exec(&block) if block @parser_builder end |