Sha256: 6475ac8122fb8a6b5be58f023f61b5d0aac172b9c5fcc80366aed4ab220d90f1

Contents?: true

Size: 736 Bytes

Versions: 1

Compression:

Stored size: 736 Bytes

Contents

require 'stairs/version'
require 'active_support'
require 'active_support/core_ext'
require 'colorize'

module Stairs
  autoload :Step, 'stairs/step'
  autoload :Script, 'stairs/script'
  autoload :Steps, 'stairs/steps'
  autoload :EnvAdapters, 'stairs/env_adapters'
  autoload :Configuration, 'stairs/configuration'
  autoload :InteractiveConfiguration, 'stairs/interactive_configuration'
  autoload :Util, 'stairs/util'
  autoload :Runner, 'stairs/runner'

  class << self
    def configure
      yield(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def reset_configuration!
      @configuration = Configuration.new
    end
  end
end

require 'stairs/railtie' if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stairs-0.10.0 lib/stairs.rb