Sha256: 38f7a4d01f9e2a7f568104af2d5e8f13276086f22322eedcea3663b097d7ec2a

Contents?: true

Size: 306 Bytes

Versions: 19

Compression:

Stored size: 306 Bytes

Contents

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

class Wx::RBN::RibbonBar

  def pages
    if block_given?
      page_count.times { |i| yield page(i) }
    else
      ::Enumerator.new { |y| page_count.times { |i| y << page(i) } }
    end
  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wxruby3-1.4.2 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.4.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.4.0 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.3.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.3.0 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.2.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.2.0 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.1.2 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.1.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.1.0 lib/wx/rbn/ribbon_bar.rb
wxruby3-1.0.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.8 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.7 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.5 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.4 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.3 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.2 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0 lib/wx/rbn/ribbon_bar.rb