Class: Amigo::Vocabulary
Instance Method Summary collapse
- #[](name) ⇒ Object
-
#initialize(base_uri) ⇒ Vocabulary
constructor
A new instance of Vocabulary.
- #type ⇒ Object
Constructor Details
#initialize(base_uri) ⇒ Vocabulary
Returns a new instance of Vocabulary.
7 8 9 |
# File 'lib/amigo/vocabulary.rb', line 7 def initialize(base_uri) @base_uri = base_uri end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object (private)
31 32 33 |
# File 'lib/amigo/vocabulary.rb', line 31 def method_missing(name, *args, &block) self[name] end |