Class: YAIB::User
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#nick ⇒ Object
Returns the value of attribute nick.
Instance Method Summary collapse
-
#initialize(nick, bot) ⇒ User
constructor
A new instance of User.
Methods inherited from Respond
Constructor Details
#initialize(nick, bot) ⇒ User
Returns a new instance of User.
5 6 7 8 |
# File 'lib/yaib/user.rb', line 5 def initialize(nick, bot) @nick = nick @bot = bot end |
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
3 4 5 |
# File 'lib/yaib/user.rb', line 3 def channel @channel end |
#nick ⇒ Object
Returns the value of attribute nick.
3 4 5 |
# File 'lib/yaib/user.rb', line 3 def nick @nick end |