Method: TaliaCore::PropertyString#initialize
- Defined in:
- lib/talia_core/property_string.rb
#initialize(property_string = '', language = nil, type = nil) ⇒ PropertyString
Create a new object from the given values. No parsing is done here.
18 19 20 21 22 |
# File 'lib/talia_core/property_string.rb', line 18 def initialize(property_string = '', language = nil, type = nil) @lang = language @type = type self.replace(property_string) end |