method

last_literal

rails latest stable - Class: ActionDispatch::Journey::Scanner

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

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