Module: LogCabin::Modules::Mechanize
- Defined in:
- lib/burglar/helpers/mechanize.rb
Overview
Provide a helper to scrape websites
Instance Method Summary collapse
Instance Method Details
#mech ⇒ Object
8 9 10 11 12 13 |
# 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 |