Method: Middleman::PreviewServer::NetworkInterfaceInventory#initialize
- Defined in:
- lib/middleman-core/preview_server/network_interface_inventory.rb
#initialize ⇒ NetworkInterfaceInventory
Returns a new instance of NetworkInterfaceInventory.
49 50 51 52 53 54 |
# File 'lib/middleman-core/preview_server/network_interface_inventory.rb', line 49 def initialize @types = [] @types << Ipv4 @types << Ipv6 @types << All end |