Class: Roo::Excelx::Cell::Empty
- Defined in:
- lib/roo/excelx/cell/empty.rb
Instance Attribute Summary collapse
-
#cell_type ⇒ Object
readonly
Returns the value of attribute cell_type.
-
#cell_value ⇒ Object
readonly
Returns the value of attribute cell_value.
-
#coordinate ⇒ Object
readonly
Returns the value of attribute coordinate.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#formula ⇒ Object
readonly
Returns the value of attribute formula.
-
#hyperlink ⇒ Object
readonly
Returns the value of attribute hyperlink.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Base
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(coordinate) ⇒ Empty
constructor
A new instance of Empty.
Methods inherited from Base
#excelx_type, #excelx_value, #formula?, #link?, #to_s, #type
Constructor Details
#initialize(coordinate) ⇒ Empty
Returns a new instance of Empty.
8 9 10 11 |
# File 'lib/roo/excelx/cell/empty.rb', line 8 def initialize(coordinate) @value = @formula = @format = @cell_type = @cell_value = @hyperlink = nil @coordinate = coordinate end |
Instance Attribute Details
#cell_type ⇒ Object (readonly)
Returns the value of attribute cell_type.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def cell_type @cell_type end |
#cell_value ⇒ Object (readonly)
Returns the value of attribute cell_value.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def cell_value @cell_value end |
#coordinate ⇒ Object (readonly)
Returns the value of attribute coordinate.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def coordinate @coordinate end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def format @format end |
#formula ⇒ Object (readonly)
Returns the value of attribute formula.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def formula @formula end |
#hyperlink ⇒ Object (readonly)
Returns the value of attribute hyperlink.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def hyperlink @hyperlink end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/roo/excelx/cell/empty.rb', line 6 def value @value end |