Class: Eg::Book::User
- Inherits:
-
Object
- Object
- Eg::Book::User
- Defined in:
- lib/eg/book/chat_server_actions.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(name) ⇒ User
62 63 64 |
# File 'lib/eg/book/chat_server_actions.rb', line 62 def initialize name @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
61 62 63 |
# File 'lib/eg/book/chat_server_actions.rb', line 61 def name @name end |