class Ellipses::Support::SanitizePath::Sanitizer::Executable

Public Instance Methods

call() click to toggle source
# File lib/ellipses/support/sanitize_path.rb, line 68
def call
  raise NotExecutable, fullpath unless ::File.file?(fullpath) || ::File.executable?(fullpath)
end