Sha256: 8d9f2b61fb5f92f2f15acc5d673aff3202cada112142244bebfa188bbac057b2

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

module Bunto
  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

5 entries across 5 versions & 1 rubygems

Version Path
bunto-3.4.5 lib/bunto/converters/identity.rb
bunto-3.2.1 lib/bunto/converters/identity.rb
bunto-3.0.0 lib/bunto/converters/identity.rb
bunto-2.0.0.pre lib/bunto/converters/identity.rb
bunto-1.0.0 lib/bunto/converters/identity.rb