class Ardm::Property::URI

Public Instance Methods

dump(value) click to toggle source
# File lib/ardm/property/uri.rb, line 17
def dump(value)
  value.to_s unless value.nil?
end
load(value) click to toggle source
# File lib/ardm/property/uri.rb, line 13
def load(value)
  Addressable::URI.parse(value) unless value.nil?
end
typecast(value) click to toggle source
# File lib/ardm/property/uri.rb, line 21
def typecast(value)
  load(value) unless value.nil?
end