Method: Watchful::Action#input_file?

Defined in:
lib/watchful/action.rb

#input_file?(path) ⇒ Boolean

does the given path look like a path to which this action could be applied?

Returns:

  • (Boolean)


80
81
82
# File 'lib/watchful/action.rb', line 80

def input_file?(path)
	Watchful::compound_extension_of(path) == @in
end