Class: Coopy::RowChange

Inherits:
Object
  • Object
show all
Defined in:
lib/lib/coopy/row_change.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRowChange

Returns a new instance of RowChange.



7
8
# File 'lib/lib/coopy/row_change.rb', line 7

def initialize
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



16
17
18
# File 'lib/lib/coopy/row_change.rb', line 16

def action
  @action
end

#condObject

Returns the value of attribute cond.



10
11
12
# File 'lib/lib/coopy/row_change.rb', line 10

def cond
  @cond
end

#conflictedObject

Returns the value of attribute conflicted.



14
15
16
# File 'lib/lib/coopy/row_change.rb', line 14

def conflicted
  @conflicted
end

#conflicting_parent_valObject

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_valObject

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_keyObject

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

#valObject

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_sObject



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