Class: Babik::QuerySet::Join::OriginTable
- Inherits:
-
Object
- Object
- Babik::QuerySet::Join::OriginTable
- Defined in:
- lib/babik/queryset/lib/join/join.rb
Overview
Origin table of the join
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#table_alias ⇒ Object
readonly
Returns the value of attribute table_alias.
Instance Method Summary collapse
-
#initialize(table_alias, key) ⇒ OriginTable
constructor
Constructor.
Constructor Details
#initialize(table_alias, key) ⇒ OriginTable
Constructor
79 80 81 82 |
# File 'lib/babik/queryset/lib/join/join.rb', line 79 def initialize(table_alias, key) @table_alias = table_alias @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
75 76 77 |
# File 'lib/babik/queryset/lib/join/join.rb', line 75 def key @key end |
#table_alias ⇒ Object (readonly)
Returns the value of attribute table_alias.
75 76 77 |
# File 'lib/babik/queryset/lib/join/join.rb', line 75 def table_alias @table_alias end |