Class: EmailVeracity::Server
- Inherits:
-
Object
- Object
- EmailVeracity::Server
- Defined in:
- lib/email_veracity/server.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
(also: #to_s)
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = '') ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(name = '') ⇒ Server
Returns a new instance of Server.
8 9 10 |
# File 'lib/email_veracity/server.rb', line 8 def initialize(name = '') @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute name.
5 6 7 |
# File 'lib/email_veracity/server.rb', line 5 def name @name end |