Skip to content

Commit bccb937

Browse files
committed
Remove autoload for RipperStateLex
1 parent 4f3ec64 commit bccb937

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/rdoc.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def self.load_yaml
146146

147147
autoload :KNOWN_CLASSES, 'rdoc/known_classes'
148148

149-
autoload :RipperStateLex, 'rdoc/parser/ripper_state_lex'
150149
autoload :TokenStream, 'rdoc/token_stream'
151150

152151
autoload :Comment, 'rdoc/comment'

lib/rdoc/parser/ruby.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
# standard rdocable item following it.
142142

143143
require 'ripper'
144+
require_relative 'ripper_state_lex'
144145

145146
class RDoc::Parser::Ruby < RDoc::Parser
146147

0 commit comments

Comments
 (0)