--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Initializes <tt>attribute</tt> to zero if <tt>nil</tt> and subtracts the value passed as <tt>by</tt> (default is 1). The decrement is performed directly on the underlying attribute, no setter is invoked. Only makes sense for number-based attributes. Returns <tt>self</tt>.
full_name: ActiveRecord::Base#decrement
is_singleton: false
name: decrement
params: (attribute, by = 1)
visibility: public
