Class: CampfireChat::Engineer
- Inherits:
-
Object
- Object
- CampfireChat::Engineer
- Defined in:
- lib/campfire_chat/engineer.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Engineer
constructor
A new instance of Engineer.
Constructor Details
#initialize(attributes = {}) ⇒ Engineer
Returns a new instance of Engineer.
4 5 6 |
# File 'lib/campfire_chat/engineer.rb', line 4 def initialize(attributes={}) @name = attributes[:name] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/campfire_chat/engineer.rb', line 3 def name @name end |