module EmmyMachine::Watcher

Public Class Methods

included(base) click to toggle source
# File lib/emmy_machine/watcher.rb, line 5
def self.included(base)
  base.events :read, :write
  base.class_eval do
    alias_method :notify_readable, :read!
    alias_method :notify_writable, :write!
  end
end