Class: IndexCollector

Inherits:
Object show all
Includes:
Gather
Defined in:
lib/qtext/extensions.rb

Overview

Collect row and column values in various ways used by ModelIndex#choppy

Instance Method Summary collapse

Constructor Details

#initialize(row, column) ⇒ IndexCollector

Returns a new instance of IndexCollector.



49
50
51
52
53
54
# File 'lib/qtext/extensions.rb', line 49

def initialize( row, column )
  super()
  # MUST use writers here, not instance variables
  self.row = row
  self.column = column
end