Method: Watchful::Action#output_file?

Defined in:
lib/watchful/action.rb

#output_file?(path) ⇒ Boolean

does the given path look like a path to which this action might write output?

Returns:

  • (Boolean)


75
76
77
# File 'lib/watchful/action.rb', line 75

def output_file?(path)
	Watchful::compound_extension_of(path) == @out
end