Sha256: 073ba6dffc9e98087898171b7c72e71bc419c6f4c1faeb4bed61054d48594b1f
Contents?: true
Size: 383 Bytes
Versions: 4
Compression:
Stored size: 383 Bytes
Contents
class Wx::Enum def |(other) if other.instance_of?(self.class) self.class.new(to_i | other.to_i) else to_i | other.to_i end end def &(other) if other.instance_of?(self.class) self.class.new(to_i & other.to_i) else to_i & other.to_i end end def ~ self.class.new(~self.to_i) end def ! self.to_i == 0 end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-0.9.0.pre.beta.11 | lib/wx/core/enum.rb |
wxruby3-0.9.0.pre.beta.10 | lib/wx/core/enum.rb |
wxruby3-0.9.0.pre.beta.9 | lib/wx/core/enum.rb |
wxruby3-0.9.0.pre.beta.8 | lib/wx/core/enum.rb |