Class: URI::Generic

Inherits:
Object
  • Object
show all
Defined in:
lib/tagen/uri.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



4
5
6
7
8
# File 'lib/tagen/uri.rb', line 4

def to_hash
  component.each.with_object({}) {|k, m|
    m[k] = send(k)
  }
end