class Killshot::Printer
Public Class Methods
new()
click to toggle source
# File lib/killshot.rb, line 44 def initialize @count = 0 end
Public Instance Methods
finish()
click to toggle source
# File lib/killshot.rb, line 57 def finish puts "Done. Found #@count hotlinks." end
print(url, img)
click to toggle source
# File lib/killshot.rb, line 48 def print(url, img) @count = @count + 1 puts "#@count. #{img.red} from #{url.green}" end
start()
click to toggle source
# File lib/killshot.rb, line 53 def start puts "Searching for hotlinks..." end