class Serverspec::Type::Iptables

Public Instance Methods

has_rule?(rule, table, chain) click to toggle source
# File lib/serverspec/type/iptables.rb, line 3
def has_rule?(rule, table, chain)
  @runner.check_iptables_has_rule(rule, table, chain)
end
to_s() click to toggle source
# File lib/serverspec/type/iptables.rb, line 7
def to_s
  'iptables'
end