Sha256: b84b9d07d2f18ebcf339a807a70dc526a771253be614042319554418d92a1b76
Contents?: true
Size: 518 Bytes
Versions: 14
Compression:
Stored size: 518 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx module RTC class RichTextCompositeObject # Overload to provide Enumerator without block wx_each_child = instance_method :each_child define_method :each_child do |&block| if block wx_each_child.bind(self).call(&block) else ::Enumerator.new { |y| wx_each_child.bind(self).call { |rto| y << rto } } end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems