Class: EasyData::RDF::Namespaces
- Inherits:
-
Object
- Object
- EasyData::RDF::Namespaces
- Defined in:
- lib/data_models/namespaces.rb
Direct Known Subclasses
CC, CERT, DC, DC11, DOAP, EXIF, FOAF, GEO, HTTP, OWL, RDFS, RSA, RSS, SIOC, SKOS, WOT, XHTML, XSD
Constant Summary collapse
- @@namespaces =
List of namespace availables to be used in RDF info models
['cc','cert','dc','dc11','doap','exif','foaf','geo','http','owl','rdfs','rsa','rss','sioc','skos','wot','xhtml','xsd']
Class Method Summary collapse
-
.list ⇒ Array
Return List of namespaces.
-
.list_form ⇒ Hash
Return list of namespaces to be used in a form.
Class Method Details
.list ⇒ Array
Return List of namespaces
10 11 12 |
# File 'lib/data_models/namespaces.rb', line 10 def self.list @@namespaces end |
.list_form ⇒ Hash
Return list of namespaces to be used in a form
16 17 18 19 20 21 22 23 24 |
# File 'lib/data_models/namespaces.rb', line 16 def self.list_form list = {} @@namespaces.each do |namespace| list[namespace] = namespace end list end |