Class: LibMsPack::MsPack::MsPackFile

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/libmspack/mspack.rb

Overview

A structure which represents an open file handle.

The contents of this structure are determined by the implementation of the MsPackSystem#open method.

Instance Method Summary collapse

Instance Method Details

#fileObject



92
93
94
# File 'lib/libmspack/mspack.rb', line 92

def file
    self[:file]
end

#file=(file) ⇒ Object



88
89
90
# File 'lib/libmspack/mspack.rb', line 88

def file=(file)
    self[:file] = file
end

#nameObject



96
97
98
# File 'lib/libmspack/mspack.rb', line 96

def name
    self[:name]
end