Sha256: fdc88f4c869fa14efa9400918cb722a2db87b3047e8cc86c024bb86a2b4da9cb

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 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)
        raise NotImplementedError.new
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
web_resource_bundler-0.0.23 lib/web_resource_bundler/filters/base_filter.rb
web_resource_bundler-0.0.22 lib/web_resource_bundler/filters/base_filter.rb