Method: Listen::File#initialize

Defined in:
lib/listen/file.rb

#initialize(listener, path) ⇒ File

Returns a new instance of File.



5
6
7
8
9
# File 'lib/listen/file.rb', line 5

def initialize(listener, path)
  @listener = listener
  @path = path
  @data = { type: 'File' }
end