Class: MathVocabulary
- Inherits:
-
Object
- Object
- MathVocabulary
- Defined in:
- lib/ontology/math_vocabulary.rb
Class Method Summary collapse
Class Method Details
.less_than ⇒ Object
6 7 8 |
# File 'lib/ontology/math_vocabulary.rb', line 6 def self.less_than uri_for('lessThan') end |
.method_missing(name, *arguments, &block) ⇒ Object
2 3 4 |
# File 'lib/ontology/math_vocabulary.rb', line 2 def self.method_missing(name, *arguments, &block) uri_for(name) end |
.uri_for(name) ⇒ Object
10 11 12 |
# File 'lib/ontology/math_vocabulary.rb', line 10 def self.uri_for(name) RDF::URI("http://www.w3.org/2000/10/swap/math##{name}") end |