Class: Lolli::Example
- Inherits:
-
Object
- Object
- Lolli::Example
- Extended by:
- EqualityMatchers
- Defined in:
- lib/lolli/example.rb
Class Method Summary collapse
Methods included from EqualityMatchers
Class Method Details
.example(description) ⇒ Object
8 9 10 11 |
# File 'lib/lolli/example.rb', line 8 def example(description) resultant = yield Lolli::REPORTER.report(resultant: resultant, description: description) end |