Module: RDFObject::Modifiers

Defined in:
lib/rdf_objects/data_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data_typeObject (readonly)

Returns the value of attribute data_type.



2
3
4
# File 'lib/rdf_objects/data_types.rb', line 2

def data_type
  @data_type
end

#languageObject

Returns the value of attribute language.



3
4
5
# File 'lib/rdf_objects/data_types.rb', line 3

def language
  @language
end

Instance Method Details

#set_data_type(uri) ⇒ Object



4
5
6
# File 'lib/rdf_objects/data_types.rb', line 4

def set_data_type(uri)
  @data_type = uri
end