File: strscan.rbs

package info (click to toggle)
ruby-simple-oauth 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 372 kB
  • sloc: ruby: 1,722; makefile: 4; sh: 4
file content (9 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# Minimal StringScanner type declarations for simple_oauth
class StringScanner
  def initialize: (String string) -> void
  def scan: (Regexp pattern) -> String?
  def eos?: () -> bool
  def rest: () -> String
  def pos: () -> Integer
  def []: (Integer index) -> String?
end