Class: Coopy::CellInfo
- Inherits:
-
Object
- Object
- Coopy::CellInfo
- Defined in:
- lib/lib/coopy/cell_info.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#category_given_tr ⇒ Object
Returns the value of attribute category_given_tr.
-
#conflicted ⇒ Object
Returns the value of attribute conflicted.
-
#lvalue ⇒ Object
Returns the value of attribute lvalue.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#pretty_separator ⇒ Object
Returns the value of attribute pretty_separator.
-
#pretty_value ⇒ Object
Returns the value of attribute pretty_value.
-
#pvalue ⇒ Object
Returns the value of attribute pvalue.
-
#raw ⇒ Object
Returns the value of attribute raw.
-
#rvalue ⇒ Object
Returns the value of attribute rvalue.
-
#separator ⇒ Object
Returns the value of attribute separator.
-
#updated ⇒ Object
Returns the value of attribute updated.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ CellInfo
constructor
A new instance of CellInfo.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ CellInfo
Returns a new instance of CellInfo.
7 8 |
# File 'lib/lib/coopy/cell_info.rb', line 7 def initialize end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
13 14 15 |
# File 'lib/lib/coopy/cell_info.rb', line 13 def category @category end |
#category_given_tr ⇒ Object
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 |
#conflicted ⇒ Object
Returns the value of attribute conflicted.
18 19 20 |
# File 'lib/lib/coopy/cell_info.rb', line 18 def conflicted @conflicted end |
#lvalue ⇒ Object
Returns the value of attribute lvalue.
20 21 22 |
# File 'lib/lib/coopy/cell_info.rb', line 20 def lvalue @lvalue end |
#meta ⇒ Object
Returns the value of attribute meta.
22 23 24 |
# File 'lib/lib/coopy/cell_info.rb', line 22 def end |
#pretty_separator ⇒ Object
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_value ⇒ Object
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 |
#pvalue ⇒ Object
Returns the value of attribute pvalue.
19 20 21 |
# File 'lib/lib/coopy/cell_info.rb', line 19 def pvalue @pvalue end |
#raw ⇒ Object
Returns the value of attribute raw.
10 11 12 |
# File 'lib/lib/coopy/cell_info.rb', line 10 def raw @raw end |
#rvalue ⇒ Object
Returns the value of attribute rvalue.
21 22 23 |
# File 'lib/lib/coopy/cell_info.rb', line 21 def rvalue @rvalue end |
#separator ⇒ Object
Returns the value of attribute separator.
15 16 17 |
# File 'lib/lib/coopy/cell_info.rb', line 15 def separator @separator end |
#updated ⇒ Object
Returns the value of attribute updated.
17 18 19 |
# File 'lib/lib/coopy/cell_info.rb', line 17 def updated @updated end |
#value ⇒ Object
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_s ⇒ Object
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 |