Sha256: 8590f09d6192258404d15b8e13a6f67437a89fe6dac103442977eaa031eaabca
Contents?: true
Size: 501 Bytes
Versions: 9
Compression:
Stored size: 501 Bytes
Contents
class Wx::RBN::RibbonGallery def item_client_data_store @item_client_data ||= {} end private :item_client_data_store def set_item_client_data(item, data) item_client_data_store[item] = data end def get_item_client_data(item) item_client_data_store[item] end alias :item_client_data :get_item_client_data def items if block_given? count.times { |i| yield item(i) } else ::Enumerator.new { |y| count.times { |i| y << item(i) } } end end end
Version data entries
9 entries across 9 versions & 1 rubygems