Class: TableQuery::SchemaLoader::VariableQuery Private
- Inherits:
-
Object
- Object
- TableQuery::SchemaLoader::VariableQuery
- Defined in:
- lib/table-query/schema-loader.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
VariableQuery is a class for query
special variable.
Instance Attribute Summary collapse
- #value ⇒ Object readonly private
Instance Method Summary collapse
- #define(name, &b) ⇒ Object private
-
#initialize ⇒ VariableQuery
constructor
private
A new instance of VariableQuery.
Constructor Details
#initialize ⇒ VariableQuery
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of VariableQuery.
33 34 35 |
# File 'lib/table-query/schema-loader.rb', line 33 def initialize @value = {} end |
Instance Attribute Details
#value ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
31 32 33 |
# File 'lib/table-query/schema-loader.rb', line 31 def value @value end |
Instance Method Details
#define(name, &b) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 |
# File 'lib/table-query/schema-loader.rb', line 37 def define(name, &b) @value[name] = QuerySchema.define(name, &b) end |