Class: DHCP::SubOptList

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

Overview

Class for DHCP option suboptions containing lists

Direct Known Subclasses

SubOptVSRInfo

Instance Attribute Summary

Attributes inherited from OptData

#data

Attributes inherited from Opt

#name, #opt

Instance Method Summary collapse

Methods inherited from OptListData

#append, #data=, #each, #get, #initialize, #is_list?, #set, #size, #split_data, #to_s

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::OptListData

Instance Method Details

#opt_headerObject



197
198
199
# File 'lib/dhcp/options.rb', line 197

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