Sha256: fb5cc546b5eb19f3d83ece69450f76da9b276211a873744e1013b4e36615d5b3

Contents?: true

Size: 600 Bytes

Versions: 1

Compression:

Stored size: 600 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"

$:.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

1 entries across 1 versions & 1 rubygems

Version Path
boty-0.0.15 lib/boty.rb