Sha256: 7e3481f163dcc1e0ab024bd51251f4486a44ef414df5e9910d950d99bcdbb8e8
Contents?: true
Size: 449 Bytes
Versions: 5
Compression:
Stored size: 449 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 def hash @value.hash end end
Version data entries
5 entries across 5 versions & 1 rubygems