2016-08-18 22:11:42 +03:00
|
|
|
require "hbc/source/path_base"
|
|
|
|
|
2016-09-24 13:52:43 +02:00
|
|
|
module Hbc
|
|
|
|
module Source
|
|
|
|
class PathSlashRequired < PathBase
|
|
|
|
def self.me?(query)
|
|
|
|
path = path_for_query(query)
|
|
|
|
path.to_s.include?("/") && path.exist?
|
|
|
|
end
|
|
|
|
end
|
2016-08-18 22:11:42 +03:00
|
|
|
end
|
|
|
|
end
|