Method: ProcessExecuter::Destinations::FilePath.handles?

Defined in:
lib/process_executer/destinations/file_path.rb

.handles?(destination) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Determines if this class can handle the given destination

Parameters:

  • destination (Object)

    the destination to check

Returns:

  • (Boolean)

    true if destination is a String



51
52
53
# File 'lib/process_executer/destinations/file_path.rb', line 51

def self.handles?(destination)
  destination.is_a? String
end