Class: ActiveForms::Mapper
- Inherits:
-
Object
- Object
- ActiveForms::Mapper
- Defined in:
- lib/active_forms/mapper.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.column_names ⇒ Object
readonly
Returns the value of attribute column_names.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
Instance Method Summary collapse
- #==(comparison_object) ⇒ Object (also: #equal?, #eql?)
-
#apiVersion=(value) ⇒ Object
ignore.
-
#initialize(attributes = {}) ⇒ Mapper
constructor
A new instance of Mapper.
-
#xmlns=(value) ⇒ Object
ignore.
Constructor Details
#initialize(attributes = {}) ⇒ Mapper
Returns a new instance of Mapper.
27 28 29 |
# File 'lib/active_forms/mapper.rb', line 27 def initialize(attributes = {}) self.attributes = attributes end |
Class Attribute Details
.column_names ⇒ Object (readonly)
Returns the value of attribute column_names.
5 6 7 |
# File 'lib/active_forms/mapper.rb', line 5 def column_names @column_names end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
25 26 27 |
# File 'lib/active_forms/mapper.rb', line 25 def attributes @attributes end |
Instance Method Details
#==(comparison_object) ⇒ Object Also known as: equal?, eql?
50 51 52 |
# File 'lib/active_forms/mapper.rb', line 50 def ==(comparison_object) attributes == comparison_object.attributes end |
#apiVersion=(value) ⇒ Object
ignore
46 47 48 |
# File 'lib/active_forms/mapper.rb', line 46 def apiVersion=(value) nil end |
#xmlns=(value) ⇒ Object
ignore
41 42 43 |
# File 'lib/active_forms/mapper.rb', line 41 def xmlns=(value) nil end |