Method: Waw::Commands::ProfileCommand#ignore?

Defined in:
lib/waw/commands/profile_command.rb

#ignore?(location, visited) ⇒ Boolean

Ignores a given location?

Returns:



19
20
21
# File 'lib/waw/commands/profile_command.rb', line 19

def ignore?(location, visited)
  visited[location] or /\.(gif|zip|pdf|jpg|csv)$/ =~ location
end