Class: Clevic::TableModel::DataChange::ModelIndexProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/clevic/table_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(other = nil) ⇒ ModelIndexProxy

Returns a new instance of ModelIndexProxy.



178
179
180
181
182
183
# File 'lib/clevic/table_model.rb', line 178

def initialize( other = nil )
  unless other.nil?
    @row = other.row
    @column = other.column
  end
end

Instance Attribute Details

#columnObject

Returns the value of attribute column.



176
177
178
# File 'lib/clevic/table_model.rb', line 176

def column
  @column
end

#rowObject

Returns the value of attribute row.



175
176
177
# File 'lib/clevic/table_model.rb', line 175

def row
  @row
end