Class: Balotelli::Core::Join
- Inherits:
-
Object
- Object
- Balotelli::Core::Join
- Defined in:
- lib/balotelli/core/join.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#responder ⇒ Object
readonly
Returns the value of attribute responder.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
-
#user_nick ⇒ Object
readonly
Returns the value of attribute user_nick.
Instance Method Summary collapse
-
#initialize(metadata) ⇒ Join
constructor
A new instance of Join.
Constructor Details
#initialize(metadata) ⇒ Join
5 6 7 8 9 10 |
# File 'lib/balotelli/core/join.rb', line 5 def initialize() @user = [:user] @user_nick = Core::Utils.nick_from_user(@user) @channel = [:channel] @responder = @channel end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
4 5 6 |
# File 'lib/balotelli/core/join.rb', line 4 def channel @channel end |
#responder ⇒ Object (readonly)
Returns the value of attribute responder.
4 5 6 |
# File 'lib/balotelli/core/join.rb', line 4 def responder @responder end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
4 5 6 |
# File 'lib/balotelli/core/join.rb', line 4 def user @user end |
#user_nick ⇒ Object (readonly)
Returns the value of attribute user_nick.
4 5 6 |
# File 'lib/balotelli/core/join.rb', line 4 def user_nick @user_nick end |