| Package | Description |
|---|---|
| org.jruby.runtime |
| Modifier and Type | Method and Description |
|---|---|
RubyMatchData |
ThreadContext.getLocalMatch()
Get the thread-local MatchData specific to this context.
|
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
ThreadContext.setBackRef(RubyMatchData match)
Set the $~ (backref) "global" to the given RubyMatchData value.
|
void |
ThreadContext.setLocalMatch(RubyMatchData localMatch)
Set the thread-local MatchData specific to this context.
|
Copyright © 2001-2022 JRuby. All Rights Reserved.