Class: ActiveFacts::CQL::Compiler::ObjectType
- Inherits:
-
Definition
- Object
- Definition
- ActiveFacts::CQL::Compiler::ObjectType
- Defined in:
- lib/activefacts/cql/compiler/shared.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Definition
#constellation, #tree, #vocabulary
Instance Method Summary collapse
-
#initialize(name) ⇒ ObjectType
constructor
A new instance of ObjectType.
- #to_s ⇒ Object
Methods inherited from Definition
#all_bindings_in_clauses, #assert_literal_value, #build_all_steps, #build_step, #build_variables, #compile, #source
Constructor Details
#initialize(name) ⇒ ObjectType
Returns a new instance of ObjectType.
164 165 166 |
# File 'lib/activefacts/cql/compiler/shared.rb', line 164 def initialize name @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
162 163 164 |
# File 'lib/activefacts/cql/compiler/shared.rb', line 162 def name @name end |
Instance Method Details
#to_s ⇒ Object
168 169 170 |
# File 'lib/activefacts/cql/compiler/shared.rb', line 168 def to_s "#{super}#{@name}" end |