Class: Float

Inherits:
Object
  • Object
show all
Defined in:
lib/rdf_objects/data_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data_typeObject

Returns the value of attribute data_type.



8
9
10
# File 'lib/rdf_objects/data_types.rb', line 8

def data_type
  @data_type
end

#languageObject

Returns the value of attribute language.



8
9
10
# File 'lib/rdf_objects/data_types.rb', line 8

def language
  @language
end

Instance Method Details

#set_data_type(uri) ⇒ Object



9
10
11
# File 'lib/rdf_objects/data_types.rb', line 9

def set_data_type(uri)
  @data_type = uri
end