Class: Eg::Book::User

Inherits:
Object
  • Object
show all
Defined in:
lib/eg/book/chat_server_actions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



61
62
63
# File 'lib/eg/book/chat_server_actions.rb', line 61

def name
  @name
end