Sha256: 948b77b557abe34cfed482a36f5ff51d6e7e71226273666a8460aced2f00d86d

Contents?: true

Size: 225 Bytes

Versions: 8

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

require 'linguist'

module Xezat
  module Linguist
    class FileBlob < ::Linguist::FileBlob
      def data
        super.scrub
      rescue StandardError
        ''
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xezat-0.3.1 lib/xezat/ext/linguist/file_blob.rb
xezat-0.3.0 lib/xezat/ext/linguist/file_blob.rb
xezat-0.2.3 lib/xezat/ext/linguist/file_blob.rb
xezat-0.2.2 lib/xezat/ext/linguist/file_blob.rb
xezat-0.2.1 lib/xezat/ext/linguist/file_blob.rb
xezat-0.2.0 lib/xezat/ext/linguist/file_blob.rb
xezat-0.1.2 lib/xezat/ext/linguist/file_blob.rb
xezat-0.1.1 lib/xezat/ext/linguist/file_blob.rb