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