We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbcd752 commit b3a3b94Copy full SHA for b3a3b94
ext/strscan/lib/strscan/truffleruby.rb
@@ -4,6 +4,7 @@
4
class StringScanner
5
class Error < StandardError
6
end
7
+ # :stopdoc:
8
unless ::Object.const_defined?(:ScanError)
9
::Object::ScanError = Error
10
::Object.deprecate_constant :ScanError
@@ -13,6 +14,7 @@ class Error < StandardError
13
14
Id = '$Id$'
15
16
def self.must_C_version = self
17
+ # :startdoc:
18
19
attr_reader :string, :pos
20
alias_method :pointer, :pos
0 commit comments