Class | BinaryBlocker::PackedDateEncoder |
In: |
lib/blocker.rb
|
Parent: | PackedNumberEncoder |
# File lib/blocker.rb, line 454 454: def initialize_options(*opts) 455: super 456: @opts[:length] = 8 457: end
# File lib/blocker.rb, line 459 459: def internal_block(val) 460: super val.year * 10000 + val.month * 100 + val.mday 461: end