Class: Serverspec::Type::Ip6tables
- Defined in:
- lib/serverspec/type/ip6tables.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #inspect, #to_ary
Constructor Details
This class inherits a constructor from Serverspec::Type::Base
Instance Method Details
#has_rule?(rule, table, chain) ⇒ Boolean
4 5 6 |
# File 'lib/serverspec/type/ip6tables.rb', line 4 def has_rule?(rule, table, chain) @runner.check_ip6tables_has_rule(rule, table, chain) end |
#to_s ⇒ Object
8 9 10 |
# File 'lib/serverspec/type/ip6tables.rb', line 8 def to_s 'ip6tables' end |