( index, view )
| 3 | class Screenshot |
| 4 | |
| 5 | def initialize( index, view ) |
| 6 | |
| 7 | @index = index |
| 8 | @small_file = "screenshot.small.#{@index}.png" |
| 9 | @large_file = "screenshot.large.#{@index}.png" |
| 10 | |
| 11 | view.save_image( @small_file, 80, 60 ) |
| 12 | view.save_image( @large_file, 800, 600 ) |
| 13 | @box = view.box |
| 14 | |
| 15 | end |
| 16 | |
| 17 | def box |
| 18 | return @box |
nothing calls this directly
no test coverage detected