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