class Sail::Types::Uri

Uri

The Uri type returns an URI object based on the string saved in the database.

Public Instance Methods

to_value() click to toggle source
# File lib/sail/types/uri.rb, line 11
def to_value
  URI(@setting.value)
end