Sha256: dc177c3d3862e67f0703d29e780d857d2248ce29938ce996c3b725138cbfc01a
Contents?: true
Size: 690 Bytes
Versions: 9
Compression:
Stored size: 690 Bytes
Contents
require 'eventmachine' require 'json' require 'logger' module Weeter extend self autoload 'Cli', 'weeter/cli' autoload 'Plugins', 'weeter/plugins' autoload 'Runner', 'weeter/runner' autoload 'Twitter', 'weeter/twitter' autoload 'Limitator', 'weeter/limitator' autoload 'Configuration', 'weeter/configuration' autoload 'TweetItem', 'weeter/tweet_item' def configure yield Configuration.instance end def logger @logger ||= begin if Configuration.instance.log_path == false nil elsif Configuration.instance.log_path Logger.new(Configuration.instance.log_path) else Logger.new(STDOUT) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems