Method: XinetdConf#socket_types

Defined in:
lib/resources/xinetd.rb

#socket_types(condition = nil) ⇒ Object



41
42
43
# File 'lib/resources/xinetd.rb', line 41

def socket_types(condition = nil)
  condition.nil? ? services_field('socket_type') : filter(socket_type: condition)
end