module TweetBot
Public Class Methods
configure() { |bot| ... }
click to toggle source
# File lib/tweetbot.rb, line 6 def self.configure @bot ||= Bot.new yield @bot if block_given? @bot end
# File lib/tweetbot.rb, line 6 def self.configure @bot ||= Bot.new yield @bot if block_given? @bot end