Class: Pakyow::Connection::Params

Inherits:
Support::IndifferentHash
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/pakyow/connection/params.rb

Instance Method Summary collapse

Constructor Details

#initializeParams

Returns a new instance of Params.



16
17
18
19
20
# File 'lib/pakyow/connection/params.rb', line 16

def initialize
  params = Support::IndifferentHash.new
  @parser = QueryParser.new(params: params)
  super(params)
end

Instance Method Details

#pp(*args) ⇒ Object

Fixes an issue using pp inside a delegator.



24
25
26
# File 'lib/pakyow/connection/params.rb', line 24

def pp(*args)
  Kernel.pp(*args)
end