lib/yard/handlers/ruby/legacy/alias_handler.rb in yard-0.5.3 vs lib/yard/handlers/ruby/legacy/alias_handler.rb in yard-0.5.4

- old
+ new

@@ -1,8 +1,8 @@ class YARD::Handlers::Ruby::Legacy::AliasHandler < YARD::Handlers::Ruby::Legacy::Base handles /\Aalias(_method)?(\s|\()/ - def process + process do if TkALIAS === statement.tokens.first tokens = statement.tokens[2..-1].to_s.split(/\s+/) names = [tokens[0], tokens[1]].map {|t| t.gsub(/^:/, '') } else names = tokval_list(statement.tokens[2..-1], :attr) \ No newline at end of file