Method: Pio::Icmp::Message.create_from

Defined in:
lib/pio/icmp/message.rb

.create_from(frame) ⇒ Object

[View source]

35
36
37
38
39
# File 'lib/pio/icmp/message.rb', line 35

def self.create_from(frame)
  message = allocate
  message.instance_variable_set :@frame, frame
  message
end