Method: Axlsx::Selection#initialize

Defined in:
lib/axlsx/workbook/worksheet/selection.rb

#initialize(options = {}) ⇒ Selection

Creates a new Axlsx::Selection object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • active_cell (Cell, String)

    Active Cell Location

  • active_cell_id (Integer)

    Active Cell Index

  • pane (Symbol)

    Pane

  • sqref (String)

    Sequence of References



17
18
19
20
# File 'lib/axlsx/workbook/worksheet/selection.rb', line 17

def initialize(options={})
  @active_cell = @active_cell_id = @pane = @sqref = nil
  parse_options options
end