Class: Opal::Parser::SourceBuffer

Inherits:
Parser::Source::Buffer
  • Object
show all
Defined in:
lib/opal/parser/source_buffer.rb

Class Method Summary collapse

Class Method Details

.recognize_encoding(string) ⇒ Object



6
7
8
# File 'lib/opal/parser/source_buffer.rb', line 6

def self.recognize_encoding(string)
  super || Encoding::UTF_8
end