Sha256: eb2a11ba6c4291ff1e6c5ed10dfbb54a0f1a9510281de831c3f9fe9387d98d8f

Contents?: true

Size: 128 Bytes

Versions: 3

Compression:

Stored size: 128 Bytes

Contents

require "uri"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tagen-2.0.2 lib/tagen/uri.rb
tagen-2.0.1 lib/tagen/uri.rb
tagen-2.0.0 lib/tagen/uri.rb