Module: VimMate::Plugin::INotifyDirectory
- Defined in:
- lib/vim_mate/plugins/inotify/lib/directory.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- Mask =
INotify::Mask.new( INotify::IN_MODIFY.value | INotify::IN_DELETE.value | INotify::IN_CREATE.value | INotify::IN_MOVED_TO.value | INotify::IN_MOVED_FROM.value | 0, 'filechange')
- Exclusions =
[ /(swp|~|rej|orig)$/, /\/\.?#/, /^\./ ]
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/vim_mate/plugins/inotify/lib/directory.rb', line 13 def self.included(base) base.class_eval do include InstanceMethods extend ClassMethods alias_method_chain :initialize, :inotify start_inotify_watcher end end |