Class: Roo::Excelx::Cell::Empty

Inherits:
Base
  • Object
show all
Defined in:
lib/roo/excelx/cell/empty.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#excelx_type, #excelx_value, #formula?, #hyperlink, #link, #link?, #presence, #to_s, #type

Methods included from Helpers::DefaultAttrReader

#attr_reader_with_default

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_typeObject (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_valueObject (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

#coordinateObject (readonly)

Returns the value of attribute coordinate.



6
7
8
# File 'lib/roo/excelx/cell/empty.rb', line 6

def coordinate
  @coordinate
end

#formatObject (readonly)

Returns the value of attribute format.



6
7
8
# File 'lib/roo/excelx/cell/empty.rb', line 6

def format
  @format
end

#formulaObject (readonly)

Returns the value of attribute formula.



6
7
8
# File 'lib/roo/excelx/cell/empty.rb', line 6

def formula
  @formula
end

#valueObject (readonly)

Returns the value of attribute value.



6
7
8
# File 'lib/roo/excelx/cell/empty.rb', line 6

def value
  @value
end

Instance Method Details

#empty?Boolean

Returns:



14
15
16
# File 'lib/roo/excelx/cell/empty.rb', line 14

def empty?
  true
end