Top Level Namespace
Defined Under Namespace
Modules: TestMe Classes: String, Symbol
Instance Method Summary collapse
-
#testme(&block) ⇒ Object
---------------------------------------------------------------- # Test Runner : Inline Testing ---------------------------------------------------------------- #.
Instance Method Details
#testme(&block) ⇒ Object
---------------------------------------------------------------- # Test Runner : Inline Testing ---------------------------------------------------------------- #
74 75 76 77 78 79 80 81 |
# File 'lib/testme.rb', line 74 def testme &block if block && defined? TESTME_RUNNING && block extend TestMe block.call end return TestMe::config end |