lib/on_form/attributes.rb
# the individual attribute methods are introduced by the expose_attribute class method.
# here we introduce some methods used for the attribute set as a whole.
the individual attribute methods are introduced by the expose_attribute class method.
here we introduce some methods used for the attribute set as a whole.
the individual attribute methods are introduced by the expose_attribute class method . here we introduce some methods used for the attribute set as a whole .
def attributes
      attribute_names.each_with_object({}) do |attribute_name, results|
        results[attribute_name] = self[attribute_name]
      end
    end
def attributes attribute_names . each_with_object ( { } ) do | attribute_name , results | results [ attribute_name ] = self [ attribute_name ] end end
the individual attribute methods are introduced by the expose_attribute class method.
the individual attribute methods are introduced by the expose_attribute class method .