Method: HTTP::Options#dup

Defined in:
lib/http/options.rb

#dup {|dupped| ... } ⇒ Object

Yields:

  • (dupped)


172
173
174
175
176
# File 'lib/http/options.rb', line 172

def dup
  dupped = super
  yield(dupped) if block_given?
  dupped
end