Class: Serverspec::Type::Ipnat
- Defined in:
- lib/serverspec/type/ipnat.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Serverspec::Type::Base
Instance Method Details
#has_rule?(rule) ⇒ Boolean
4 5 6 |
# File 'lib/serverspec/type/ipnat.rb', line 4 def has_rule?(rule) backend.check_ipnat_rule(rule) end |
#to_s ⇒ Object
8 9 10 |
# File 'lib/serverspec/type/ipnat.rb', line 8 def to_s 'ipnat' end |