Class: SLA::Formatters::Verbose

Inherits:
Base
  • Object
show all
Defined in:
lib/sla/formatters/verbose.rb

Instance Attribute Summary

Attributes inherited from Base

#count, #failed

Instance Method Summary collapse

Methods inherited from Base

#footer, #footer_prefix, #initialize, #success?

Constructor Details

This class inherits a constructor from SLA::Formatters::Base

Instance Method Details

#handle(action, page) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/sla/formatters/verbose.rb', line 4

def handle(action, page)
  case action
  when :source
    say "\nm`SOURCE  #{page.url}`"

  when :check
    show_check_status page

  when :skip
    say "  b`SKIP`  #{page.depth}  #{page.url}"

  end
end