Sha256: fc58c81ebce982998c5043589b8a7f867ba1403974341da155a7667d98f642d2

Contents?: true

Size: 425 Bytes

Versions: 7

Compression:

Stored size: 425 Bytes

Contents

module WebResourceBundler
  module Filters
    #virtaul base class for filters
    class BaseFilter
      attr_reader :settings

      def initialize(settings, file_manager)
        @settings = settings
        @file_manager = file_manager
      end

      def set_settings(settings)
        @settings = settings
      end

      def apply(block_data = nil)
        #applies filter to block_data
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
web_resource_bundler-0.0.21 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.20 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.19 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.18 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.16 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.15 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.14 lib/web_resource_bundler/filters/base_filter.rb