Sha256: 101b07c79348756187f51cb7ba83d1bd4aa545fd23c12de5581cdeee65b527f4

Contents?: true

Size: 281 Bytes

Versions: 50

Compression:

Stored size: 281 Bytes

Contents

class Rack::App::Payload::Builder

  def parser_builder(&block)
    @parser_builder ||= Rack::App::Payload::Parser::Builder.new
    @parser_builder.instance_exec(&block) if block
    @parser_builder
  end

  alias parser parser_builder
  alias configure_parser parser_builder

end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
rack-app-6.1.0 lib/rack/app/payload/builder.rb
rack-app-6.0.0 lib/rack/app/payload/builder.rb
rack-app-5.12.0 lib/rack/app/payload/builder.rb
rack-app-5.11.1 lib/rack/app/payload/builder.rb
rack-app-5.11.0 lib/rack/app/payload/builder.rb
rack-app-5.10.2 lib/rack/app/payload/builder.rb
rack-app-5.10.1 lib/rack/app/payload/builder.rb
rack-app-5.10.0 lib/rack/app/payload/builder.rb
rack-app-5.9.0 lib/rack/app/payload/builder.rb
rack-app-5.8.0 lib/rack/app/payload/builder.rb