Class: Spider::Model::Storage::Db::FieldFunction
- Defined in:
- lib/spiderfw/model/storage/db/db_schema.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
-
#joins ⇒ Object
readonly
Returns the value of attribute joins.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(expression, table, joins) ⇒ FieldFunction
constructor
A new instance of FieldFunction.
- #to_s ⇒ Object
Constructor Details
#initialize(expression, table, joins) ⇒ FieldFunction
Returns a new instance of FieldFunction.
262 263 264 265 266 |
# File 'lib/spiderfw/model/storage/db/db_schema.rb', line 262 def initialize(expression, table, joins) @expression = expression @table = table @joins = joins end |
Instance Attribute Details
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
261 262 263 |
# File 'lib/spiderfw/model/storage/db/db_schema.rb', line 261 def expression @expression end |
#joins ⇒ Object (readonly)
Returns the value of attribute joins.
261 262 263 |
# File 'lib/spiderfw/model/storage/db/db_schema.rb', line 261 def joins @joins end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
261 262 263 |
# File 'lib/spiderfw/model/storage/db/db_schema.rb', line 261 def table @table end |
Instance Method Details
#to_s ⇒ Object
268 269 270 |
# File 'lib/spiderfw/model/storage/db/db_schema.rb', line 268 def to_s @expression end |