Class: Buddhy::Bot
- Inherits:
-
Object
- Object
- Buddhy::Bot
- Defined in:
- lib/buddhy/bot.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#nick ⇒ Object
Returns the value of attribute nick.
Instance Method Summary collapse
-
#initialize(nick, name) ⇒ Bot
constructor
A new instance of Bot.
Constructor Details
#initialize(nick, name) ⇒ Bot
Returns a new instance of Bot.
6 7 8 9 |
# File 'lib/buddhy/bot.rb', line 6 def initialize(nick, name) @nick = nick @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/buddhy/bot.rb', line 4 def name @name end |
#nick ⇒ Object
Returns the value of attribute nick.
4 5 6 |
# File 'lib/buddhy/bot.rb', line 4 def nick @nick end |