# File lib/listen/file.rb, line 5definitialize(path)
@path = path@data = { type:'File' }
end
Public Instance Methods
change()click to toggle source
# File lib/listen/file.rb, line 10defchangeif_existing_path?&&_modified?_set_record_data:modifiedelsif_new_path?_set_record_data:addedelsif_removed_path?_unset_record_data:removedendend