Class: RailsEdgeTest::Printers::Boring
- Inherits:
-
Object
- Object
- RailsEdgeTest::Printers::Boring
- Defined in:
- lib/rails_edge_test/printers/boring.rb
Instance Method Summary collapse
- #begin_action(_action) ⇒ Object
- #begin_controller(_controller) ⇒ Object
- #begin_edge(_edge) ⇒ Object
- #begin_suite ⇒ Object
- #end_action ⇒ Object
- #end_controller ⇒ Object
- #end_edge ⇒ Object
- #end_suite ⇒ Object
-
#initialize ⇒ Boring
constructor
A new instance of Boring.
Constructor Details
#initialize ⇒ Boring
Returns a new instance of Boring.
3 4 5 |
# File 'lib/rails_edge_test/printers/boring.rb', line 3 def initialize @count = 0 end |
Instance Method Details
#begin_action(_action) ⇒ Object
23 24 25 |
# File 'lib/rails_edge_test/printers/boring.rb', line 23 def begin_action(_action) print "." end |
#begin_controller(_controller) ⇒ Object
15 16 17 |
# File 'lib/rails_edge_test/printers/boring.rb', line 15 def begin_controller(_controller) print "." end |
#begin_edge(_edge) ⇒ Object
31 32 33 |
# File 'lib/rails_edge_test/printers/boring.rb', line 31 def begin_edge(_edge) print "." end |
#begin_suite ⇒ Object
7 8 9 |
# File 'lib/rails_edge_test/printers/boring.rb', line 7 def begin_suite puts "" end |
#end_action ⇒ Object
27 28 29 |
# File 'lib/rails_edge_test/printers/boring.rb', line 27 def end_action end |
#end_controller ⇒ Object
19 20 21 |
# File 'lib/rails_edge_test/printers/boring.rb', line 19 def end_controller end |
#end_edge ⇒ Object
35 36 37 |
# File 'lib/rails_edge_test/printers/boring.rb', line 35 def end_edge @count += 1 end |
#end_suite ⇒ Object
11 12 13 |
# File 'lib/rails_edge_test/printers/boring.rb', line 11 def end_suite puts "\n#{@count} edge specs executed." end |