diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-09-10 12:54:18 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-09-10 12:54:18 +0200 |
commit | 96a476a2331daa4d1d6b5ac444bbdbd2ac221a5f (patch) | |
tree | 70d09c28efc104dee82058058b321e235421fe00 /lib/overwrite.rb | |
parent | 5b844250a7d3be05e3139e0ca3c819c3da8ee4f6 (diff) |
tests fixed (crossvalidations may fail due to memory constraints)
Diffstat (limited to 'lib/overwrite.rb')
-rw-r--r-- | lib/overwrite.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/overwrite.rb b/lib/overwrite.rb index cb47527..08baa39 100644 --- a/lib/overwrite.rb +++ b/lib/overwrite.rb @@ -122,4 +122,8 @@ module URI false end + def self.task? uri + uri =~ /task/ and URI.valid? uri + end + end |