Method: BitPacker#declare
- Defined in:
- lib/bit-packer.rb
#declare(&block) ⇒ Object
Receives declaration.
Adds declaration of bit array items. Can be call multiple times. New delcarations are joind to end of the array.
93 94 95 |
# File 'lib/bit-packer.rb', line 93 def declare(&block) self.instance_eval(&block) end |