Sha256: 09e08bb849129e1093b41a450c9149dea202b852c93b110c72971da5590b6968

Contents?: true

Size: 618 Bytes

Versions: 3

Compression:

Stored size: 618 Bytes

Contents

begin
  require "pp"

  require "dotenv"
  if defined? Dotenv
    Dotenv.load
    Dotenv.overload ".env.local"
  end
rescue LoadError
end

require "faye/websocket"
require "i18n"
require "faraday"

$:.unshift File.expand_path("../../lib", __FILE__)

module Boty
  def self.locale=(lang)
    Locale.reload
    I18n.locale = lang
  end

  def self.locale
    I18n.locale ||= :en
  end
end

require "boty/version"
require "boty/logger"
require "boty/slack"
require "boty/session"
require "boty/message"
require "boty/action"
require "boty/script_loader"
require "boty/script_dsl"
require "boty/locale"
require "boty/bot"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
boty-0.0.17.1 lib/boty.rb
boty-0.0.17 lib/boty.rb
boty-0.0.16 lib/boty.rb