Module: QDA::GUI::HashLikeItemData

Includes:
ItemData
Included in:
CategoryTree
Defined in:
lib/weft/wxgui/utilities.rb

Instance Method Summary collapse

Methods included from ItemData

#get_item_data, #set_item_data, #value_to_ident

Instance Method Details

#dataObject



84
85
86
# File 'lib/weft/wxgui/utilities.rb', line 84

def data()
  @data_table ||= Hash.new()    
end

#index(the_id) ⇒ Object



88
89
90
91
92
93
# File 'lib/weft/wxgui/utilities.rb', line 88

def index(the_id)
  data.each do | k, val |
    return k if val.dbid == the_id
  end
  return nil
end