Class: ActiveForms::Mapper
- Inherits:
-
Object
- Object
- ActiveForms::Mapper
- Defined in:
- lib/active_forms/mapper.rb
Direct Known Subclasses
Application, ApplicationPrint, Entry, EntryPrintout, Form, FormVersion, Token
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.
29 30 31 |
# File 'lib/active_forms/mapper.rb', line 29 def initialize(attributes = {}) self.attributes = attributes end |
Class Attribute Details
.column_names ⇒ Object (readonly)
Returns the value of attribute column_names.
7 8 9 |
# File 'lib/active_forms/mapper.rb', line 7 def column_names @column_names end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
27 28 29 |
# File 'lib/active_forms/mapper.rb', line 27 def attributes @attributes end |
Instance Method Details
#==(comparison_object) ⇒ Object Also known as: equal?, eql?
52 53 54 |
# File 'lib/active_forms/mapper.rb', line 52 def ==(comparison_object) attributes == comparison_object.attributes end |
#apiVersion=(value) ⇒ Object
ignore
48 49 50 |
# File 'lib/active_forms/mapper.rb', line 48 def apiVersion=(value) nil end |
#xmlns=(value) ⇒ Object
ignore
43 44 45 |
# File 'lib/active_forms/mapper.rb', line 43 def xmlns=(value) nil end |