Sha256: a133e4a259a198171b6eb40c4717ac448f575afe9bd7b1e2e0af156ef501da67

Contents?: true

Size: 201 Bytes

Versions: 9

Compression:

Stored size: 201 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.beta.14 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.beta.13 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.beta.11 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.beta.10 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.beta.9 lib/wx/rbn/ribbon_bar.rb
wxruby3-0.9.0.pre.beta.8 lib/wx/rbn/ribbon_bar.rb