Parser

@api public

Constants

CurrentRuby
MESSAGES

Diagnostic messages (errors, warnings and notices) that can be generated.

@see Diagnostic

@api public

VERSION

Public Class Methods

check_for_encoding_support() click to toggle source

Verify that the current Ruby implementation supports Encoding. @raise [RuntimeError]

# File lib/parser.rb, line 73
def self.check_for_encoding_support
  unless defined?(Encoding)
    raise RuntimeError, 'Parsing 1.9 and later versions of Ruby is not supported on 1.8 due to the lack of Encoding support'
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.