Class: STester
Class Method Summary collapse
Class Method Details
.context(text) ⇒ Object
12 13 14 |
# File 'lib/s_tester.rb', line 12 def context text p text end |
.description(text) ⇒ Object
8 9 10 |
# File 'lib/s_tester.rb', line 8 def description text p text end |
.it(text) ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/s_tester.rb', line 16 def it text begin yield Painter.correct text rescue STesterException => e Painter.error(text + e.) end end |