Class: Serverspec::Type::Ipnat

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/ipnat.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_ary

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#has_rule?(rule) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/serverspec/type/ipnat.rb', line 3

def has_rule?(rule)
  @runner.check_ipnat_has_rule(rule)
end

#to_sObject



7
8
9
# File 'lib/serverspec/type/ipnat.rb', line 7

def to_s
  'ipnat'
end