Method: Inspec::Resources::XinetdConf#types

Defined in:
lib/resources/xinetd.rb

#types(condition = nil) ⇒ Object



46
47
48
# File 'lib/resources/xinetd.rb', line 46

def types(condition = nil)
  condition.nil? ? services_field('type') : filter(type: condition)
end