Class: Jung::Sender
- Inherits:
-
Object
- Object
- Jung::Sender
- Defined in:
- lib/jung/sender.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, address = nil) ⇒ Sender
constructor
A new instance of Sender.
Constructor Details
#initialize(name, address = nil) ⇒ Sender
Returns a new instance of Sender.
6 7 8 9 |
# File 'lib/jung/sender.rb', line 6 def initialize(name, address = nil) @name = name @address = address end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/jung/sender.rb', line 4 def address @address end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/jung/sender.rb', line 4 def name @name end |