class String
Public Instance Methods
encode_component()
click to toggle source
# File lib/contact-data.rb, line 25 def encode_component Addressable::URI.encode_component(self, Addressable::URI::CharacterClasses::PATH) end
to_options(base)
click to toggle source
# File lib/contact-data.rb, line 29 def to_options(base) { url: self }.to_options(base) end