Module: Safubot
- Defined in:
- lib/safubot.rb,
lib/safubot/bot.rb,
lib/safubot/log.rb,
lib/safubot/xmpp.rb,
lib/safubot/evented.rb,
lib/safubot/version.rb,
lib/safubot/twitter.rb,
lib/safubot/known_user.rb,
lib/safubot/test_helper.rb
Defined Under Namespace
Modules: Evented, Log, Problematic, Test, Twitter, XMPP Classes: Bot, KnownUser, Problem, Query, Request, Response
Constant Summary
- VERSION =
"0.0.4"
Class Attribute Summary (collapse)
-
+ (Object) mode
Returns the value of attribute mode.
Instance Method Summary (collapse)
-
- (Object) error_report(e)
Pretty-printing of Exceptions and their backtraces.
Class Attribute Details
+ (Object) mode
Returns the value of attribute mode
14 15 16 |
# File 'lib/safubot.rb', line 14 def mode @mode end |
Instance Method Details
- (Object) error_report(e)
Pretty-printing of Exceptions and their backtraces.
7 8 9 |
# File 'lib/safubot/bot.rb', line 7 def error_report(e) "#{e.inspect}\n#{e.backtrace.join("\n\t")}" end |