Module: FixtureBuilder

Defined in:
lib/fixture_builder.rb,
lib/fixture_builder/namer.rb,
lib/fixture_builder/builder.rb,
lib/fixture_builder/version.rb,
lib/fixture_builder/delegations.rb,
lib/fixture_builder/configuration.rb,
lib/fixture_builder/fixtures_path.rb

Defined Under Namespace

Modules: Delegations Classes: Builder, Configuration, FixturesPath, Namer

Constant Summary collapse

VERSION =
'0.5.2'
Differ =

hashdiff version >= 1.0.0

HashDiff

Class Method Summary collapse

Class Method Details

.configuration(opts = {}) ⇒ Object


9
10
11
# File 'lib/fixture_builder.rb', line 9

def configuration(opts = {})
  @configuration ||= FixtureBuilder::Configuration.new(opts)
end

.configure(opts = {}) {|configuration(opts)| ... } ⇒ Object

Yields:


13
14
15
# File 'lib/fixture_builder.rb', line 13

def configure(opts = {})
  yield configuration(opts)
end