Module: TestProf::AnyFixture::DSL::Ext

Defined in:
lib/test_prof/any_fixture/dsl.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#fixture(id, &block) ⇒ Object



8
9
10
# File 'lib/test_prof/any_fixture/dsl.rb', line 8

def fixture(id, &block)
  ::TestProf::AnyFixture.register(:"#{id}", &block)
end