Sha256: a4f5c4313a27d383f11ac8637c11c379b2bc319c5e2ecd183106ecc4c272d2e9

Contents?: true

Size: 595 Bytes

Versions: 3

Compression:

Stored size: 595 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"
locales = Dir[File.expand_path("../../locale/**/*", __FILE__)]
I18n.load_path += locales

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

module Boty
  def self.locale=(lang)
    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/bot"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
boty-0.0.13 lib/boty.rb
boty-0.0.12 lib/boty.rb
boty-0.0.11 lib/boty.rb