Class: Coopy::ConflictInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row, col, pvalue, lvalue, rvalue) ⇒ ConflictInfo

Returns a new instance of ConflictInfo.



7
8
9
10
11
12
13
# File 'lib/lib/coopy/conflict_info.rb', line 7

def initialize(row,col,pvalue,lvalue,rvalue)
  @row = row
  @col = col
  @pvalue = pvalue
  @lvalue = lvalue
  @rvalue = rvalue
end

Instance Attribute Details

#colObject

Returns the value of attribute col.



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

def col
  @col
end

#lvalueObject

Returns the value of attribute lvalue.



18
19
20
# File 'lib/lib/coopy/conflict_info.rb', line 18

def lvalue
  @lvalue
end

#pvalueObject

Returns the value of attribute pvalue.



17
18
19
# File 'lib/lib/coopy/conflict_info.rb', line 17

def pvalue
  @pvalue
end

#rowObject

Returns the value of attribute row.



15
16
17
# File 'lib/lib/coopy/conflict_info.rb', line 15

def row
  @row
end

#rvalueObject

Returns the value of attribute rvalue.



19
20
21
# File 'lib/lib/coopy/conflict_info.rb', line 19

def rvalue
  @rvalue
end