Class: Babik::QuerySet::Update::Assignment::Divide
- Defined in:
- lib/babik/queryset/lib/update/assignment.rb
Overview
Division operation
Instance Method Summary collapse
-
#initialize(field, value) ⇒ Divide
constructor
A new instance of Divide.
Methods inherited from Operation
Constructor Details
#initialize(field, value) ⇒ Divide
Returns a new instance of Divide.
100 101 102 |
# File 'lib/babik/queryset/lib/update/assignment.rb', line 100 def initialize(field, value) super(field, '/', value) end |