Class: Opal::Source::Buffer

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

Class Method Summary collapse

Class Method Details

.recognize_encoding(string) ⇒ Object



8
9
10
# File 'opal/lib/opal/parser.rb', line 8

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