class RubyParser::Parser

Public Class Methods

inherited(x) click to toggle source
# File lib/ruby_parser.rb, line 15
def self.inherited x
  RubyParser::VERSIONS << x
end
version() click to toggle source
# File lib/ruby_parser.rb, line 19
def self.version
  Parser > self and self.name[/(?:V|Ruby)(\d+)/, 1].to_i
end