Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rdf_objects/data_types.rb
Instance Attribute Summary collapse
-
#data_type ⇒ Object
Returns the value of attribute data_type.
-
#language ⇒ Object
Returns the value of attribute language.
Instance Method Summary collapse
Instance Attribute Details
#data_type ⇒ Object
Returns the value of attribute data_type.
20 21 22 |
# File 'lib/rdf_objects/data_types.rb', line 20 def data_type @data_type end |
#language ⇒ Object
Returns the value of attribute language.
20 21 22 |
# File 'lib/rdf_objects/data_types.rb', line 20 def language @language end |
Instance Method Details
#set_data_type(uri) ⇒ Object
21 22 23 |
# File 'lib/rdf_objects/data_types.rb', line 21 def set_data_type(uri) @data_type = uri end |