Class: Coopy::CellInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCellInfo

Returns a new instance of CellInfo.



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

def initialize
end

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



13
14
15
# File 'lib/lib/coopy/cell_info.rb', line 13

def category
  @category
end

#category_given_trObject

Returns the value of attribute category_given_tr.



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

def category_given_tr
  @category_given_tr
end

#conflictedObject

Returns the value of attribute conflicted.



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

def conflicted
  @conflicted
end

#lvalueObject

Returns the value of attribute lvalue.



20
21
22
# File 'lib/lib/coopy/cell_info.rb', line 20

def lvalue
  @lvalue
end

#metaObject

Returns the value of attribute meta.



22
23
24
# File 'lib/lib/coopy/cell_info.rb', line 22

def meta
  @meta
end

#pretty_separatorObject

Returns the value of attribute pretty_separator.



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

def pretty_separator
  @pretty_separator
end

#pretty_valueObject

Returns the value of attribute pretty_value.



12
13
14
# File 'lib/lib/coopy/cell_info.rb', line 12

def pretty_value
  @pretty_value
end

#pvalueObject

Returns the value of attribute pvalue.



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

def pvalue
  @pvalue
end

#rawObject

Returns the value of attribute raw.



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

def raw
  @raw
end

#rvalueObject

Returns the value of attribute rvalue.



21
22
23
# File 'lib/lib/coopy/cell_info.rb', line 21

def rvalue
  @rvalue
end

#separatorObject

Returns the value of attribute separator.



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

def separator
  @separator
end

#updatedObject

Returns the value of attribute updated.



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

def updated
  @updated
end

#valueObject

Returns the value of attribute value.



11
12
13
# File 'lib/lib/coopy/cell_info.rb', line 11

def value
  @value
end

Instance Method Details

#to_sObject



24
25
26
27
28
# File 'lib/lib/coopy/cell_info.rb', line 24

def to_s 
  return @value if !@updated
  return _hx_str(@lvalue) + "::" + _hx_str(@rvalue) if !@conflicted
  _hx_str(@pvalue) + "||" + _hx_str(@lvalue) + "::" + _hx_str(@rvalue)
end