Class: LingrBot
- Inherits:
-
Object
- Object
- LingrBot
- Extended by:
- BotMethods
- Includes:
- BotMethods
- Defined in:
- lib/lingr_bot.rb,
lib/lingr_bot/version.rb
Defined Under Namespace
Modules: BotMethods Classes: Configure
Constant Summary collapse
- VERSION =
"0.0.5"
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ LingrBot
constructor
A new instance of LingrBot.
Methods included from BotMethods
Constructor Details
#initialize(options = {}) ⇒ LingrBot
Returns a new instance of LingrBot.
21 22 23 |
# File 'lib/lingr_bot.rb', line 21 def initialize( = {}) self.config = self.class.config.merge end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
12 13 14 |
# File 'lib/lingr_bot.rb', line 12 def config @config end |