class Proxy::ShellHooks::Api

Private Instance Methods

valid_shell?(file) click to toggle source
# File lib/smart_proxy_shellhooks/shellhooks_api.rb, line 48
def valid_shell?(file)
  File.executable_real?(file) && File.file?(file) && file =~ VALID_SHELL
end