FAT::File class of PicoRuby

Singleton methods

new

FAT::File.new(String path, String mode) -> void

Instance methods

close

instance.close() -> nil

each_line

instance.each_line() { (String) -> void } -> nil

eof?

instance.eof?() -> bool

expand

instance.expand(Integer size) -> Integer

fsync

instance.fsync() -> 0

gets

instance.gets() -> String?

physical_address

instance.physical_address() -> Integer

puts

instance.puts(*String) -> nil

read

instance.read(?Integer size) -> String?

sector_size

instance.sector_size() -> Integer

seek

instance.seek(Integer offset, ?Integer whence) -> 0

size

instance.size() -> Integer

tell

instance.tell() -> Integer

write

instance.write(String data) -> Integer
Tags: class