Sha256: adacf8277cc0b60d55df0c1945e5ecc243d9c32fea8011fc16806b8f41e7cdcf

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

module Rail
  module Processor
    class Base
      extend Forwardable

      def self.capable?(extension)
        Array(output_extension).include?(extension)
      end

      def self.extensify(filename)
        "#{ filename }.#{ input_extension }"
      end

      attr_reader :pipeline
      def_delegator :pipeline, :compress?

      def initialize(pipeline)
        @pipeline = pipeline
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rail-0.0.7 lib/rail/processor/base.rb
rail-0.0.6 lib/rail/processor/base.rb