Module: Zippo::Filter::Base

Included in:
Compressor, Uncompressor
Defined in:
lib/zippo/filter/base.rb

Overview

Generic filter mixin.

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

BLOCK_SIZE =

Use same block size as rubyzip for better comparison

131072

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



22
23
24
25
26
27
# File 'lib/zippo/filter/base.rb', line 22

def self.included(base)
  base.class_eval do
    @filters = []
    extend ClassMethods
  end
end