Sha256: 6e0bfe8abd52dd8e98950886eb2321a63c5306f4462f75637539aff3468c251c
Contents?: true
Size: 426 Bytes
Versions: 25
Compression:
Stored size: 426 Bytes
Contents
require 'pio/icmp/format' module Pio class Icmp # Base class of Icmp::Request and Icmp::Reply. class Message private_class_method :new def initialize(user_options) options = self.class.const_get(:Options).new(user_options) @format = Icmp::Format.new(options.to_hash) end def method_missing(method, *args) @format.__send__(method, *args) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems