Sha256: b0b7a7aa63662dab364837cad700794fc6c896f8a4e88a960bfd239b5c7ba6d0

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 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"

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

4 entries across 4 versions & 1 rubygems

Version Path
fixtury-0.3.0 lib/fixtury.rb
fixtury-0.3.0.beta lib/fixtury.rb
fixtury-0.2.1 lib/fixtury.rb
fixtury-0.2.0 lib/fixtury.rb