Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/accessibility/bridge/mri.rb

Overview

accessibility-core extensions to the String class

Instance Method Summary collapse

Instance Method Details

#to_urlURI::Generic

Parse the receiver into a URI object

Returns:



115
116
117
# File 'lib/accessibility/bridge/mri.rb', line 115

def to_url
  URI.parse self
end