Class: DHCP::SubOpt

Inherits:
OptData show all
Defined in:
lib/dhcp/options.rb

Overview

Class for DHCP option suboptions:

Instance Attribute Summary

Attributes inherited from OptData

#data

Attributes inherited from Opt

#name, #opt

Instance Method Summary collapse

Methods inherited from OptData

#bin_to_data, #data_to_bin, #get, #initialize, #set, #to_opt, #to_s

Methods inherited from Opt

#initialize, #to_opt, #to_s

Constructor Details

This class inherits a constructor from DHCP::OptData

Instance Method Details

#opt_headerObject



190
191
192
# File 'lib/dhcp/options.rb', line 190

def opt_header
  "suboption[#{opt}:#{@name}]"
end