Sha256: bf2af19332031f4cfb67607006c192219d41f7f6ad45e60c35e72e3e1db17a38
Contents?: true
Size: 525 Bytes
Versions: 7
Compression:
Stored size: 525 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::VListBox wx_each_selected = instance_method :each_selected define_method :each_selected do |&block| if block wx_each_selected.bind(self).call(&block) else ::Enumerator.new { |y| wx_each_selected.bind(self).call { |sel| y << sel } } end end end
Version data entries
7 entries across 7 versions & 1 rubygems