Sha256: 6572136aa7aae8b7a3927e246e6ec3f9a8347c6b408984a556cf945a425f2b64

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"
require "active_support/core_ext/module/attribute_accessors"
require "active_support/core_ext/module/delegation"
require "fixtury/version"
require "fixtury/schema"
require "fixtury/locator"
require "fixtury/store"
require "fixtury/execution_context"

module Fixtury

  def self.define(&block)
    schema.define(&block)
    schema
  end

  def self.schema
    @top_level_schema ||= ::Fixtury::Schema.new(parent: nil, name: "")
  end

end

require "fixtury/railtie" if defined?(Rails)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fixtury-0.1.0 lib/fixtury.rb
fixtury-0.1.0.rc1 lib/fixtury.rb
fixtury-0.1.0.beta2 lib/fixtury.rb
fixtury-0.1.0.beta lib/fixtury.rb
fixtury-0.1.0.alpha2 lib/fixtury.rb
fixtury-0.1.0.alpha lib/fixtury.rb