Skip to content

Commit b3a3b94

Browse files
nobumatzbot
authored andcommitted
[ruby/strscan] [DOC] Undoc unused constants
ruby/strscan@1d85632f2a
1 parent cbcd752 commit b3a3b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/strscan/lib/strscan/truffleruby.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
class StringScanner
55
class Error < StandardError
66
end
7+
# :stopdoc:
78
unless ::Object.const_defined?(:ScanError)
89
::Object::ScanError = Error
910
::Object.deprecate_constant :ScanError
@@ -13,6 +14,7 @@ class Error < StandardError
1314
Id = '$Id$'
1415

1516
def self.must_C_version = self
17+
# :startdoc:
1618

1719
attr_reader :string, :pos
1820
alias_method :pointer, :pos

0 commit comments

Comments
 (0)