method
last_literal
v8.0.0 -
Show latest stable
- Class:
ActionDispatch::Journey::Scanner
last_literal()public
No documentation available.
# File actionpack/lib/action_dispatch/journey/scanner.rb, line 48
def last_literal
last_str = @scanner.string.byteslice(@scanner.pos - @length, @length)
last_str.tr! "\\", ""
-last_str
end