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/twitter.rb,
lib/safubot/version.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 collapse
- VERSION =
"0.0.9"
Class Attribute Summary collapse
-
.mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
-
#error_report(e) ⇒ Object
Pretty-printing of Exceptions and their backtraces.
Class Attribute Details
.mode ⇒ Object
Returns the value of attribute mode.
20 21 22 |
# File 'lib/safubot.rb', line 20 def mode @mode end |
Instance Method Details
#error_report(e) ⇒ Object
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 |