Sha256: 4bde55f229d498667ffab701b2ecf51d6e8837dac7e66dbfb6dd0b3908a64196

Contents?: true

Size: 594 Bytes

Versions: 5

Compression:

Stored size: 594 Bytes

Contents

require_relative "satisfactory/loader"
require_relative "satisfactory/root"

# Satisfactory is a factory library for Ruby,
# helping you to navigate your factory associations.
#
# Currently implemented atop FactoryBot, but
# could be extended to support other factory libraries.
#
# @since 0.2.0
module Satisfactory
  # @!attribute [r] factory_configurations
  class << self
    def root
      Root.new
    end

    # @api private
    # @return (see Loader.factory_configurations)
    def factory_configurations
      @factory_configurations ||= Loader.factory_configurations
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
satisfactory-0.3.2 lib/satisfactory.rb
satisfactory-0.3.1 lib/satisfactory.rb
satisfactory-0.3.0 lib/satisfactory.rb
satisfactory-0.2.1 lib/satisfactory.rb
satisfactory-0.2.0 lib/satisfactory.rb