Sha256: 9ead43ca1b9972b1da9b35546f4ff60ee7be99c0dd1cb9c29e670191c76f3c18

Contents?: true

Size: 343 Bytes

Versions: 8

Compression:

Stored size: 343 Bytes

Contents

module Dolos
  class StringIOWrapper
    attr_reader io: StringIO
    attr_reader offset: Integer
    attr_reader backup: Integer

    def initialize: (String) -> void

    def advance: (Integer)-> void

    def mark_offset: -> void

    def matches?: (String) -> bool

    def peek: -> [String?, Integer]

    def rollback: -> void
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dolos-0.3.1 sig/dolos/string_io_wrapper.rbs
dolos-0.3.0 sig/dolos/string_io_wrapper.rbs
dolos-0.2.1 sig/dolos/string_io_wrapper.rbs
dolos-0.2.0 sig/dolos/string_io_wrapper.rbs
dolos-0.1.3 sig/dolos/string_io_wrapper.rbs
dolos-0.1.2 sig/dolos/string_io_wrapper.rbs
dolos-0.1.1 sig/dolos/string_io_wrapper.rbs
dolos-0.1.0 sig/dolos/string_io_wrapper.rbs