module LogCabin::Modules::Mechanize

Provide a helper to scrape websites

Public Instance Methods

mech() click to toggle source
# File lib/burglar/helpers/mechanize.rb, line 8
def mech
  return @mech if @mech
  @mech = ::Mechanize.new
  setup_mech if respond_to? :setup_mech, true
  @mech
end