Class: Sys::Io::FileHandle
- Inherits:
-
Object
- Object
- Sys::Io::FileHandle
- Defined in:
- lib/lib/sys/io/file_handle.rb
Constant Summary collapse
- ISENUM__ =
true
- CONSTRUCTS__ =
[]
Instance Attribute Summary collapse
-
#index ⇒ Object
Returns the value of attribute index.
-
#params ⇒ Object
Returns the value of attribute params.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(t, index, p = nil) ⇒ FileHandle
constructor
A new instance of FileHandle.
Constructor Details
#initialize(t, index, p = nil) ⇒ FileHandle
Returns a new instance of FileHandle.
11 |
# File 'lib/lib/sys/io/file_handle.rb', line 11 def initialize(t,index,p = nil ) @tag = t; @index = index; @params = p; end |
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index.
9 10 11 |
# File 'lib/lib/sys/io/file_handle.rb', line 9 def index @index end |
#params ⇒ Object
Returns the value of attribute params.
10 11 12 |
# File 'lib/lib/sys/io/file_handle.rb', line 10 def params @params end |
#tag ⇒ Object
Returns the value of attribute tag.
8 9 10 |
# File 'lib/lib/sys/io/file_handle.rb', line 8 def tag @tag end |