Method: LambdaPunch::Notifier#initialize

Defined in:
lib/lambda_punch/notifier.rb

#initializeNotifier

Returns a new instance of Notifier.



24
25
26
27
# File 'lib/lambda_punch/notifier.rb', line 24

def initialize
  @notifier = INotify::Notifier.new
  File.open(FILE, 'w') { |f| f.write('') } unless File.exist?(FILE)
end