lib/rouge/lexers/ruby.rb in rouge-1.7.7 vs lib/rouge/lexers/ruby.rb in rouge-1.8.0

- old
+ new

@@ -1,10 +1,11 @@ # -*- coding: utf-8 -*- # module Rouge module Lexers class Ruby < RegexLexer + title "Ruby" desc "The Ruby programming language (ruby-lang.org)" tag 'ruby' aliases 'rb' filenames '*.rb', '*.ruby', '*.rbw', '*.rake', '*.gemspec', '*.podspec', 'Rakefile', 'Guardfile', 'Gemfile', 'Capfile', 'Podfile', @@ -106,11 +107,11 @@ undef unless until when while yield ) keywords_pseudo = %w( initialize new loop include extend raise attr_reader attr_writer - attr_accessor attr catch throw private module_function public - protected true false nil __FILE__ __LINE__ + attr_accessor alias_method attr catch throw private module_function + public protected true false nil __FILE__ __LINE__ ) builtins_g = %w( __id__ __send__ abort ancestors at_exit autoload binding callcc caller catch chomp chop class_eval class_variables clone