Sha256: f7cf51ec54f984549fcab8d56a3a153673e84820b36c63d3418f765f577ee09b

Contents?: true

Size: 993 Bytes

Versions: 3

Compression:

Stored size: 993 Bytes

Contents

require "active_support/core_ext/module/delegation"
require "active_support/core_ext/string/inflections"
require "bundler"
require "dotenv"
require "mem"
require "slop"

module Ellen
  class << self
    include Mem

    def logger
      @logger ||= Ellen::Logger.new($stdout)
    end

    def die(message)
      logger.error("Error: #{message}")
      exit(1)
    end

    def adapters
      {}
    end
    memoize :adapters

    def handlers
      []
    end
    memoize :handlers
  end
end

require "ellen/action"
require "ellen/adapter_builder"
require "ellen/adapters/base"
require "ellen/adapters/shell"
require "ellen/brains/base"
require "ellen/brains/null"
require "ellen/command_builder"
require "ellen/commands/base"
require "ellen/commands/generate"
require "ellen/commands/run"
require "ellen/env"
require "ellen/handlers/base"
require "ellen/handlers/help"
require "ellen/handlers/ping"
require "ellen/logger"
require "ellen/message"
require "ellen/robot"
require "ellen/version"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ellen-0.1.0 lib/ellen.rb
ellen-0.0.9 lib/ellen.rb
ellen-0.0.8 lib/ellen.rb