Sha256: b1438c8620b570cefbcbbe8f385eb4d52747431933ac3703b1ed4ba45b08c179

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

module Handcuffs
  mattr_accessor :config

  def self.configure
    raise 'must pass a block to Handcuffs.configure' unless block_given?
    @@config = Configurator.new
    yield @@config
  end

  class Configurator
    attr_accessor :phases
    attr_accessor :default_phase

    def initialize
      @phases = []
      @default_phase = nil
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
handcuffs-1.0.0 lib/handcuffs/configuration.rb