Method: Net::SSH::Config.expandable_default_files

Defined in:
lib/net/ssh/config.rb

.expandable_default_filesObject

Filters default_files down to the files that are expandable.



186
187
188
189
190
191
192
193
# File 'lib/net/ssh/config.rb', line 186

def expandable_default_files
  default_files.keep_if do |path|
    File.expand_path(path)
    true
  rescue ArgumentError
    false
  end
end