class Fincher::IOScanner
- Fincher::IOScanner
- Reference
- Object
Defined in:
fincher/io_scanner.crConstant Summary
-
BUFFER_SIZE =
4096
Constructors
Instance Method Summary
- #[](index)
- #[]?(index)
- #check(pattern)
- #check_until(pattern)
- #eos?
- #gets_to_end
-
#inspect(stream : ::IO)
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
- #io : IO
- #last_match : Regex::MatchData?
- #offset
- #offset=(position)
- #peek(len)
- #pos
- #pos=(position)
- #print_buffer_position
- #reset
- #rest
- #scan(pattern)
- #scan_until(pattern)
- #size
- #skip(bytes_count : Int)
- #skip(pattern : Regex)
- #skip_until(pattern)
- #stdin?
- #string
- #terminate
Macro Summary
Constructor Detail
Instance Method Detail
def inspect(stream : ::IO)
#
Description copied from class Reference
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>