--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: bitmask!
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Apply a bitmask.
- !ruby/struct:SM::Flow::VERB 
  body: "  1.bitmask(6) #=&gt; 7\n"
- !ruby/struct:SM::Flow::P 
  body: Using a inverted bitmask clears bits.
- !ruby/struct:SM::Flow::VERB 
  body: "  7.bitmask(~2) #=&gt; 5\n  5.bitmask(~2) #=&gt; 5\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: George Moschovitis"
full_name: Integer#bitmask
is_singleton: false
name: bitmask
params: (mask)
visibility: public
