Class: Coopy::RowChange
- Inherits:
-
Object
- Object
- Coopy::RowChange
- Defined in:
- lib/lib/coopy/row_change.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#cond ⇒ Object
Returns the value of attribute cond.
-
#conflicted ⇒ Object
Returns the value of attribute conflicted.
-
#conflicting_parent_val ⇒ Object
Returns the value of attribute conflicting_parent_val.
-
#conflicting_val ⇒ Object
Returns the value of attribute conflicting_val.
-
#is_key ⇒ Object
Returns the value of attribute is_key.
-
#val ⇒ Object
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize ⇒ RowChange
constructor
A new instance of RowChange.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ RowChange
Returns a new instance of RowChange.
7 8 |
# File 'lib/lib/coopy/row_change.rb', line 7 def initialize end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
16 17 18 |
# File 'lib/lib/coopy/row_change.rb', line 16 def action @action end |
#cond ⇒ Object
Returns the value of attribute cond.
10 11 12 |
# File 'lib/lib/coopy/row_change.rb', line 10 def cond @cond end |
#conflicted ⇒ Object
Returns the value of attribute conflicted.
14 15 16 |
# File 'lib/lib/coopy/row_change.rb', line 14 def conflicted @conflicted end |
#conflicting_parent_val ⇒ Object
Returns the value of attribute conflicting_parent_val.
13 14 15 |
# File 'lib/lib/coopy/row_change.rb', line 13 def conflicting_parent_val @conflicting_parent_val end |
#conflicting_val ⇒ Object
Returns the value of attribute conflicting_val.
12 13 14 |
# File 'lib/lib/coopy/row_change.rb', line 12 def conflicting_val @conflicting_val end |
#is_key ⇒ Object
Returns the value of attribute is_key.
15 16 17 |
# File 'lib/lib/coopy/row_change.rb', line 15 def is_key @is_key end |
#val ⇒ Object
Returns the value of attribute val.
11 12 13 |
# File 'lib/lib/coopy/row_change.rb', line 11 def val @val end |
Instance Method Details
#to_s ⇒ Object
35 36 37 |
# File 'lib/lib/coopy/row_change.rb', line 35 def to_s _hx_str(@action) + " " + _hx_str(self.show_map(@cond)) + " : " + _hx_str(self.show_map(@val)) end |