Sha256: 308e062cc8a60f5dda3d4a26713ae320addfbface1d9e8d29d640c5a76fc8766

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

module Monad
  module Converters
    class Identity < Converter
      safe true

      priority :lowest

      def matches(ext)
        true
      end

      def output_ext(ext)
        ext
      end

      def convert(content)
        content
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
monad-0.0.2 lib/monad/converters/identity.rb
monad-0.0.1 lib/monad/converters/identity.rb