| Class | InfoList |
| In: |
objectlist.rb
|
| Parent: | Object |
| objects | [RW] | |
| rows | [RW] |
# File objectlist.rb, line 60 def currentrownum # puts @rows.last.class return @rows.last.to_i + 1 end
# File objectlist.rb, line 30 def insert(row1, object) @rows.push(row1) @objects.push(object) if row1.class == Fixnum $globalobjects[row1] = object end end
# File objectlist.rb, line 45 def objonrow(onrow) @rows.each_with_index do |row,idx| if onrow == row return @objects[idx] end end end
# File objectlist.rb, line 37 def whichobject(selrow) @rows.each do |row| if selrow == row return @objects[rows[0].to_i] break end end end