Method: Spider#initialize
- Defined in:
- lib/contentar/spider.rb
#initialize(base_path) ⇒ Spider
3 4 5 6 7 |
# File 'lib/contentar/spider.rb', line 3 def initialize(base_path) @base_path = base_path @ignored_links = [/.js/, /.css/] @data = [] end |