Module: TweetBot

Defined in:
lib/tweetbot.rb,
lib/tweetbot/bot.rb,
lib/tweetbot/talk.rb

Defined Under Namespace

Modules: Talk Classes: Bot

Class Method Summary collapse

Class Method Details

.configure {|@bot| ... } ⇒ Object

Yields:

  • (@bot)


6
7
8
9
10
# File 'lib/tweetbot.rb', line 6

def self.configure
  @bot ||= Bot.new
  yield @bot if block_given?
  @bot
end