# File lib/core/facets/integer/bitmask.rb, line 43 def bit?(bit) mask = (1 << bit) (self & mask) != 0 end