Sha256: 714af0f4387364a6b1770e9be7b0797fe8e67d5b4b36c790a4256d87232c8606

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

class Wx::RBN::RibbonGallery

  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

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/rbn/ribbon_gallery.rb