Sha256: 5049cb3607b7f0ba152f10f7e54f81956cc7d7e8bf2e944a2d2389337f6c3d75
Contents?: true
Size: 297 Bytes
Versions: 3
Compression:
Stored size: 297 Bytes
Contents
# frozen_string_literal: true module FactoryBot module Syntax module Default class DSL def preload(table, &block) ::FixtureBot::FixtureCreator.tables[table] ||= [] ::FixtureBot::FixtureCreator.tables[table] << block end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fixture_bot-0.3.0 | lib/fixture_bot/extension.rb |
fixture_bot-0.2.0 | lib/fixture_bot/extension.rb |
fixture_bot-0.1.0 | lib/fixture_bot/extension.rb |