Sha256: b335a45a717c1784a0af14a5c8db05df299937a7ffec45b8c48dbd61eaea99cc
Contents?: true
Size: 411 Bytes
Versions: 4
Compression:
Stored size: 411 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