Class: Serverspec::Type::Iptables
- Inherits:
-
Base
- Object
- Base
- Serverspec::Type::Iptables
show all
- Defined in:
- lib/serverspec/type/iptables.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #to_ary
Instance Method Details
#has_rule?(rule, table, chain) ⇒ Boolean
3
4
5
|
# 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 ⇒ Object
7
8
9
|
# File 'lib/serverspec/type/iptables.rb', line 7
def to_s
'iptables'
end
|