Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/grubby/core_ext/string.rb
Instance Method Summary collapse
-
#to_absolute_uri ⇒ URI
Constructs a URI from the String.
Instance Method Details
#to_absolute_uri ⇒ URI
Constructs a URI from the String. Raises an exception if the String does not denote an absolute URI.
9 10 11 |
# File 'lib/grubby/core_ext/string.rb', line 9 def to_absolute_uri URI(self).to_absolute_uri end |