Sha256: b6b1ed08bbea19aa80f809a8c9ac2f71d0dee631c4564154c08863c4c385aa8b

Contents?: true

Size: 258 Bytes

Versions: 67

Compression:

Stored size: 258 Bytes

Contents

#!/usr/bin/env ruby

module Flapjack
  module Filters
    module Base
      def initialize(opts={})
        @logger = opts[:logger]
        @redis  = opts[:redis]
      end

      def name
        self.class.to_s.split('::').last
      end
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
flapjack-0.7.21 lib/flapjack/filters/base.rb
flapjack-0.7.20 lib/flapjack/filters/base.rb
flapjack-0.7.19 lib/flapjack/filters/base.rb
flapjack-0.7.18 lib/flapjack/filters/base.rb
flapjack-0.7.17 lib/flapjack/filters/base.rb
flapjack-0.7.16 lib/flapjack/filters/base.rb
flapjack-0.7.15 lib/flapjack/filters/base.rb