Class: ReputationIntermediateValue
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ReputationIntermediateValue
- Defined in:
- app/models/reputation_intermediate_value.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ ReputationIntermediateValue
constructor
A new instance of ReputationIntermediateValue.
Constructor Details
#initialize(*args) ⇒ ReputationIntermediateValue
Returns a new instance of ReputationIntermediateValue.
14 15 16 17 18 19 20 |
# File 'app/models/reputation_intermediate_value.rb', line 14 def initialize(*args) args[0] = { :value => 0 }.merge(args.first || {}) super *args end |