Sha256: 61b789b0b2ebe0500121b8eebb10ce46c496357ccaabfa968c2e0934bc13116e

Contents?: true

Size: 212 Bytes

Versions: 40

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

module Opal
  module Parser
    class SourceBuffer < ::Parser::Source::Buffer
      def self.recognize_encoding(string)
        super || Encoding::UTF_8
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
opal-1.8.3.rc1 lib/opal/parser/source_buffer.rb
opal-1.8.2 lib/opal/parser/source_buffer.rb
opal-1.8.1 lib/opal/parser/source_buffer.rb
opal-1.8.0 lib/opal/parser/source_buffer.rb
opal-1.8.0.beta1 lib/opal/parser/source_buffer.rb
opal-1.7.4 lib/opal/parser/source_buffer.rb
opal-1.8.0.alpha1 lib/opal/parser/source_buffer.rb
opal-1.7.3 lib/opal/parser/source_buffer.rb
opal-1.7.2 lib/opal/parser/source_buffer.rb
opal-1.7.1 lib/opal/parser/source_buffer.rb
opal-1.7.0 lib/opal/parser/source_buffer.rb
opal-1.7.0.rc1 lib/opal/parser/source_buffer.rb
opal-1.6.1 lib/opal/parser/source_buffer.rb
opal-1.6.0 lib/opal/parser/source_buffer.rb
opal-1.6.0.rc1 lib/opal/parser/source_buffer.rb
opal-1.6.0.alpha1 lib/opal/parser/source_buffer.rb
opal-1.5.1 lib/opal/parser/source_buffer.rb
opal-1.5.0 lib/opal/parser/source_buffer.rb
opal-1.5.0.rc1 lib/opal/parser/source_buffer.rb
opal-1.4.1 lib/opal/parser/source_buffer.rb