Class: ActiveFacts::CQL::Compiler::Vocabulary
- Inherits:
-
Definition
- Object
- Definition
- ActiveFacts::CQL::Compiler::Vocabulary
- Defined in:
- lib/activefacts/cql/compiler/shared.rb
Instance Attribute Summary
Attributes inherited from Definition
#constellation, #source, #vocabulary
Instance Method Summary collapse
- #compile ⇒ Object
-
#initialize(name) ⇒ Vocabulary
constructor
A new instance of Vocabulary.
Constructor Details
#initialize(name) ⇒ Vocabulary
Returns a new instance of Vocabulary.
77 78 79 |
# File 'lib/activefacts/cql/compiler/shared.rb', line 77 def initialize name @name = name end |
Instance Method Details
#compile ⇒ Object
81 82 83 |
# File 'lib/activefacts/cql/compiler/shared.rb', line 81 def compile @constellation.Vocabulary @name end |