class Drom::Client

Public Instance Methods

get(url) click to toggle source
# File lib/drom/client.rb, line 9
def get(url)
  begin
    page = self.class.get(url)
    Nokogiri::HTML(page)
  rescue SocketError => e
    print "SocketError"
  end
end