Class: Sail::Types::Uri
Overview
Uri
The Uri type returns an URI object based on the string saved in the database.
Instance Method Summary collapse
Methods inherited from Type
Constructor Details
This class inherits a constructor from Sail::Types::Type
Instance Method Details
#to_value ⇒ Object
11 12 13 |
# File 'lib/sail/types/uri.rb', line 11 def to_value URI(@setting.value) end |