Class: Lolli::Example

Inherits:
Object
  • Object
show all
Extended by:
EqualityMatchers
Defined in:
lib/lolli/example.rb

Class Method Summary collapse

Methods included from EqualityMatchers

assert_equals

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