Sha256: df8b7d916467b643bf727d9dc5af543f911c702dba8ca9f8ad1678b34ab9c1a9

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

require 'forwardable'
require 'assembly_line/registry'
require 'assembly_line/constructor'

module AssemblyLine
  VERSION = "0.1.0".freeze

  def self.define(name, &block)
    Registry.add(name, block)
  end

  def self.assemble(name, rspec_context, options={})
    Registry.locate(name).assemble(rspec_context, options)
  end

  def Assemble(name, options={})
    AssemblyLine.assemble(name, self, options)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assembly_line-0.1.0 lib/assembly_line.rb