Class: Serverspec::Type::MailAlias

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

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_ary, #to_s

Constructor Details

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

Instance Method Details

#aliased_to?(target) ⇒ Boolean

Returns:

  • (Boolean)


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

def aliased_to?(target)
  @runner.check_mail_alias_is_aliased_to(@name, target)
end