Class: TableQuery::SchemaLoader::VariableQuery Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeVariableQuery

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

#valueObject (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