Class: Serverspec::Type::Ipfilter
- Defined in:
- lib/serverspec/type/ipfilter.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) ⇒ Boolean
3 4 5 |
# File 'lib/serverspec/type/ipfilter.rb', line 3 def has_rule?(rule) @runner.check_ipfilter_has_rule(rule) end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/serverspec/type/ipfilter.rb', line 7 def to_s 'ipfilter' end |