Class: Hashme::URI Private

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/hashme.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Adds an URI helper class to the Hashme namespace so that properties referencing them typecast to URI objects in Ruby standard library.

Class Method Summary collapse

Class Method Details

.new(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
# File 'lib/ext/hashme.rb', line 11

def self.new(value)
  URI(value)
end