class XfOOrth::XfOOrth_InStream
-
The fOOrth InStream file input mini-class.
Attributes
file[R]
The file used to perform the actual input operations.
Public Class Methods
new(file_name)
click to toggle source
Set up the InStream for the given file name.
# File lib/fOOrth/library/in_stream_library.rb, line 15 def initialize(file_name) @file = File.new(file_name, 'r') rescue error "F50: Unable to open the file #{file_name} for reading." end