Module: Bacon::SpecDoxOutput
- Included in:
- Bacon
- Defined in:
- lib/vendor/bacon.rb
Instance Method Summary collapse
- #handle_requirement(description) ⇒ Object
- #handle_specification(name) ⇒ Object
- #handle_summary ⇒ Object
Instance Method Details
#handle_requirement(description) ⇒ Object
42 43 44 45 46 |
# File 'lib/vendor/bacon.rb', line 42 def handle_requirement(description) print "- #{description}" error = yield puts error.empty? ? "" : " [#{error}]" end |
#handle_specification(name) ⇒ Object
36 37 38 39 40 |
# File 'lib/vendor/bacon.rb', line 36 def handle_specification(name) puts name yield puts end |