Class: Serverspec::Type::MailAlias

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

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #to_ary, #to_s

Constructor Details

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

Instance Method Details

#aliased_to?(target) ⇒ 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