lib/customize/calculator/base.rb in customize-0.0.5 vs lib/customize/calculator/base.rb in customize-0.0.6

- old
+ new

@@ -1,16 +1,20 @@ module Customize module Calculator - class Base + class Base cattr_accessor :inputs - @@inputs = [] + self.inputs = [] def self.input name sym = name.to_sym - @@inputs << sym + inputs << sym attr_accessor sym end - def calculate instance + def calculate instance, options={} + end + + def persisted? + false end end end end