8000 [DOC] Stop document Ripper::Lexer · github/ruby@871124c · GitHub
[go: up one dir, main page]

Skip to content

Commit 871124c

Browse files
committed
[DOC] Stop document Ripper::Lexer
`:nodoc:` seems not working for inner classes.
1 parent 970513f commit 871124c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/ripper/lib/ripper/lexer.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def Ripper.lex(src, filename = '-', lineno = 1, **kw)
5353
end
5454

5555
class Lexer < ::Ripper #:nodoc: internal use only
56+
# :stopdoc:
5657
class State
5758
attr_reader :to_int, :to_s
5859

@@ -258,6 +259,7 @@ def on_error2(mesg, elem)
258259
(SCANNER_EVENTS.map {|event|:"on_#{event}"} - private_instance_methods(false)).each do |event|
259260
alias_method event, :_push_token
260261
end
262+
# :startdoc:
261263
end
262264

263265
# [EXPERIMENTAL]

0 commit comments

Comments
 (0)
0