lib/parameters/class_methods.rb
def each_param(&block)
      ancestors.reverse_each do |ancestor|
        if ancestor.included_modules.include?(Parameters)
          ancestor.params.each_value(&block)
        end
      end

      return self
    end
def each_param(&block)
      ancestors.reverse_each do |ancestor|
        if ancestor.included_modules.include?(Parameters)
          ancestor.params.each_value(&block)
        end
      end

      return self
    end
Iterates over the parameters of the class and it's ancestors.

 @yield [param]
   The block that will be passed each class parameter.

 @api semipublic