class StringIO
Superclass hierarchy
Object
Reference
StringIO
Included Modules
IO
Defined in:
Class Method Summary
.new
(string : String)
.new
(capacity = 64)
Instance Method Summary
#buffer
#bytesize
#clear
#close
#closed?
#empty?
#gets
(delimiter : Char, limit : Int32)
#read
(length : Int)
#read
(slice : Slice(UInt8), count)
#rewind
#to_s
#to_s
(io)
#to_slice
#write
(slice : Slice(UInt8), count)
Class Method Detail
def self.
new
(string :
String
)
def self.
new
(capacity =
64
)
Instance Method Detail
def
buffer
def
bytesize
def
clear
def
close
def
closed?
def
empty?
def
gets
(delimiter :
Char
, limit :
Int32
)
def
read
(length :
Int
)
def
read
(slice :
Slice
(
UInt8
), count)
def
rewind
def
to_s
def
to_s
(io)
def
to_slice
def
write
(slice :
Slice
(
UInt8
), count)