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.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(coordinate) ⇒ Empty
constructor
A new instance of Empty.
Methods inherited from Base
#excelx_type, #excelx_value, #formula?, #hyperlink, #link, #link?, #presence, #to_s, #type
Methods included from Helpers::DefaultAttrReader
Constructor Details
#initialize(coordinate) ⇒ Empty
Returns a new instance of Empty.
10 11 12 |
# File 'lib/roo/excelx/cell/empty.rb', line 10 def initialize(coordinate) @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 |
#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 |