Skip to content

Commit

Permalink
Remove obsoleted Ruby code.
Browse files Browse the repository at this point in the history
RDoc::RubyToken::Symbol was parsed as Symbol class and its content is Integer.
  • Loading branch information
sho-h committed Sep 27, 2017
1 parent 88db33d commit a55d92e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/rdoc/ruby_token.rb
Expand Up @@ -21,11 +21,6 @@ module RDoc::RubyToken
EXPR_DOT = :EXPR_DOT
EXPR_CLASS = :EXPR_CLASS

# for ruby 1.4X
if !defined?(Symbol)
Symbol = Integer
end

def set_token_position(seek, line, char)
@prev_seek = seek
@prev_line_no = line
Expand Down

0 comments on commit a55d92e

Please sign in to comment.