Class: Jruby::Pcap::FileHandle
- Inherits:
-
Object
- Object
- Jruby::Pcap::FileHandle
- Includes:
- Enumerable
- Defined in:
- lib/jruby-pcap/file_handle.rb
Instance Attribute Summary collapse
-
#handle ⇒ Object
readonly
Returns the value of attribute handle.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(handle) ⇒ FileHandle
constructor
A new instance of FileHandle.
Constructor Details
#initialize(handle) ⇒ FileHandle
Returns a new instance of FileHandle.
10 11 12 |
# File 'lib/jruby-pcap/file_handle.rb', line 10 def initialize(handle) @handle = handle end |
Instance Attribute Details
#handle ⇒ Object (readonly)
Returns the value of attribute handle.
8 9 10 |
# File 'lib/jruby-pcap/file_handle.rb', line 8 def handle @handle end |