Class: SaveTheMonth::QueryDsl
- Inherits:
-
Object
- Object
- SaveTheMonth::QueryDsl
- Defined in:
- lib/query_dsl.rb
Instance Attribute Summary collapse
-
#balance ⇒ Object
Returns the value of attribute balance.
Instance Method Summary collapse
- #expected_amount ⇒ Object
-
#initialize(balance) ⇒ QueryDsl
constructor
A new instance of QueryDsl.
Constructor Details
#initialize(balance) ⇒ QueryDsl
Returns a new instance of QueryDsl.
47 48 49 |
# File 'lib/query_dsl.rb', line 47 def initialize(balance) self.balance = balance end |
Instance Attribute Details
#balance ⇒ Object
Returns the value of attribute balance.
45 46 47 |
# File 'lib/query_dsl.rb', line 45 def balance @balance end |
Instance Method Details
#expected_amount ⇒ Object
51 52 53 |
# File 'lib/query_dsl.rb', line 51 def expected_amount ExpectedAmountQuery.new(balance) end |