Module: Virginity::FieldValues::Uri
Overview
needs module Text
Instance Method Summary collapse
Instance Method Details
#uri ⇒ Object
6 7 8 |
# File 'lib/virginity/vcard/field_values/uri.rb', line 6 def uri URI::parse(text) end |
#uri=(new_uri) ⇒ Object
10 11 12 |
# File 'lib/virginity/vcard/field_values/uri.rb', line 10 def uri=(new_uri) self.text = new_uri.to_s end |