Class: Rexer::Commands::ProgressNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/rexer/commands.rb

Instance Method Summary collapse

Instance Method Details

#completedObject



35
36
37
# File 'lib/rexer/commands.rb', line 35

def completed
  Rexer.verbosity.on(:info) { puts Paint["done", :green] }
end

#processing(process_title) ⇒ Object



43
44
45
# File 'lib/rexer/commands.rb', line 43

def processing(process_title)
  Rexer.verbosity.on(:debug) { puts Paint[process_title, :gray] }
end

#skipped(reason) ⇒ Object



39
40
41
# File 'lib/rexer/commands.rb', line 39

def skipped(reason)
  Rexer.verbosity.on(:info) { puts Paint["skipped (#{reason})", :yellow] }
end

#started(process_title) ⇒ Object



31
32
33
# File 'lib/rexer/commands.rb', line 31

def started(process_title)
  Rexer.verbosity.on(:info) { print "#{process_title} ... " }
end