class Ubi::Artifex
Artifex: I work!
Attributes
thema[RW]
Public Class Methods
new(query)
click to toggle source
# File lib/ubi/artifex.rb, line 7 def initialize(query) @thema = Thema.new(query[:name], query[:urls]) query[:urls] ? fetch_pages : start_with_search social_search if query[:mail] other_search do_the_twist end
Public Instance Methods
do_the_twist()
click to toggle source
# File lib/ubi/artifex.rb, line 31 def do_the_twist thema.araneas.each { |a| thema.try_datum(a) } # pp thema.spec # binding.pry if binding.respond_to?(:pry) end
fetch_pages()
click to toggle source
# File lib/ubi/artifex.rb, line 27 def fetch_pages thema.araneas.each(&:work) end
other_search()
click to toggle source
# File lib/ubi/artifex.rb, line 24 def other_search end
start_with_search()
click to toggle source
# File lib/ubi/artifex.rb, line 15 def start_with_search [Google, Yahoo, Bing, DuckDuckGo].each do |s| @thema.try_consultor(s) end end