Sha256: 8956ea9307df5c179d1d38c4e0b423692f9189cbc77b380f20236a96c888814d
Contents?: true
Size: 659 Bytes
Versions: 7
Compression:
Stored size: 659 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonToolBar def tool_client_data_store @tool_client_data ||= {} end private :tool_client_data_store def set_tool_client_data(tool, data) tool_client_data_store[tool] = data end def get_tool_client_data(tool) tool_client_data_store[tool] end alias :tool_client_data :get_tool_client_data def tools if block_given? tool_count.times { |i| yield tool_by_pos(i) } else ::Enumerator.new { |y| tool_count.times { |i| y << tool_by_pos(i) } } end end end
Version data entries
7 entries across 7 versions & 1 rubygems