Class: Golden::ApplicationCalculator
- Inherits:
-
Object
- Object
- Golden::ApplicationCalculator
- Includes:
- ActiveModel::AttributeAssignment, ActiveModel::Validations, BooleanAccessor
- Defined in:
- lib/golden/objects/application/application_calculator.rb
Constant Summary
Constants included from BooleanAccessor
Instance Method Summary collapse
-
#initialize(accessors = {}) ⇒ ApplicationCalculator
constructor
A new instance of ApplicationCalculator.
- #perform ⇒ Object
Constructor Details
#initialize(accessors = {}) ⇒ ApplicationCalculator
Returns a new instance of ApplicationCalculator.
11 12 13 |
# File 'lib/golden/objects/application/application_calculator.rb', line 11 def initialize(accessors = {}) assign_attributes(accessors || {}) end |
Instance Method Details
#perform ⇒ Object
15 16 17 |
# File 'lib/golden/objects/application/application_calculator.rb', line 15 def perform raise NotImplementedError end |