brew/Library/Homebrew/cask/lib/hbc/source/path_slash_optional.rb
2016-09-24 16:00:58 +02:00

13 lines
209 B
Ruby

require "hbc/source/path_base"
module Hbc
module Source
class PathSlashOptional < PathBase
def self.me?(query)
path = path_for_query(query)
path.exist?
end
end
end
end