Class: DirectoriesInterface::Communication
- Inherits:
-
Object
- Object
- DirectoriesInterface::Communication
- Defined in:
- lib/directories_interface/communication.rb
Instance Attribute Summary collapse
-
#number ⇒ Object
Returns the value of attribute number.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#number ⇒ Object
Returns the value of attribute number.
4 5 6 |
# File 'lib/directories_interface/communication.rb', line 4 def number @number end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/directories_interface/communication.rb', line 4 def type @type end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/directories_interface/communication.rb', line 6 def to_s "type => #{type}, number => #{number}" end |