title: Unpack a bit from a binary string with Ruby
body: <p>I'm using <code>String::unpack</code> to unpack a bunch of ints and double from a binary stream. How can I unpack a single bit from that bitstream? I cannot find a specific directive for decoding single bits with unpack.</p>