Class: MulBlankCell

Inherits:
Cell
  • Object
show all
Defined in:
lib/surpass/cell.rb

Instance Attribute Summary

Attributes inherited from Cell

#index

Instance Method Summary collapse

Methods inherited from Cell

#col, #row, #set_style

Constructor Details

#initialize(parent, col1, col2, xf_idx) ⇒ MulBlankCell

Returns a new instance of MulBlankCell.



108
109
110
111
112
113
114
# File 'lib/surpass/cell.rb', line 108

def initialize(parent, col1, col2, xf_idx)
  raise unless col1 < col2
  @parent = parent
  @col1 = col1
  @col2 = col2
  @xf_idx = xf_idx
end

Instance Method Details

#to_biffObject



116
117
118
# File 'lib/surpass/cell.rb', line 116

def to_biff
  MulBlankRecord.new(@parent.index, @col1, @col2, @xf_idx).to_biff
end