Sha256: d793bae0d7fcc569ec8affe1fe9ebdf505223c14560578406f29e9d463526be9
Contents?: true
Size: 630 Bytes
Versions: 16
Compression:
Stored size: 630 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
16 entries across 16 versions & 1 rubygems