Class: Qdsl::InnerJoin
- Inherits:
-
Object
- Object
- Qdsl::InnerJoin
- Defined in:
- lib/inner_join.rb
Instance Attribute Summary collapse
-
#predicate ⇒ Object
readonly
Returns the value of attribute predicate.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source, predicate) ⇒ InnerJoin
constructor
A new instance of InnerJoin.
Constructor Details
#initialize(source, predicate) ⇒ InnerJoin
Returns a new instance of InnerJoin.
5 6 7 8 |
# File 'lib/inner_join.rb', line 5 def initialize(source, predicate) @source = source @predicate = predicate end |
Instance Attribute Details
#predicate ⇒ Object (readonly)
Returns the value of attribute predicate.
3 4 5 |
# File 'lib/inner_join.rb', line 3 def predicate @predicate end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
3 4 5 |
# File 'lib/inner_join.rb', line 3 def source @source end |