Class: Pio::Icmp::Message
- Inherits:
-
Object
- Object
- Pio::Icmp::Message
- Extended by:
- Forwardable
- Defined in:
- lib/pio/icmp/message.rb
Overview
Base class of Request, Reply, TTL Exceeded and destination unreachable.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(user_options) ⇒ Message
constructor
A new instance of Message.
Constructor Details
Class Method Details
.create_from(frame) ⇒ Object
35 36 37 38 39 |
# File 'lib/pio/icmp/message.rb', line 35 def self.create_from(frame) = allocate .instance_variable_set :@frame, frame end |