class RubyParser::Parser
Public Class Methods
Source
# File lib/ruby_parser.rb, line 53 def self.inherited x RubyParser::VERSIONS << x end
Source
# File lib/ruby_parser.rb, line 61 def self.version @version ||= Parser > self && self.name[/(?:V|Ruby)(\d+)/, 1].to_i end