From 918f3298510be4505306813bd71699b61ec8dfc5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 14 Dec 2015 10:32:25 +0000 Subject: nodoc internal classes DTAS does not expose any sort of public API for external users, so it will not be documented using RDoc. Currently all of our documentation is in plain-text or Markdown (only for manpages). --- lib/dtas/watchable.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lib/dtas/watchable.rb') diff --git a/lib/dtas/watchable.rb b/lib/dtas/watchable.rb index 36e8644..60bade0 100644 --- a/lib/dtas/watchable.rb +++ b/lib/dtas/watchable.rb @@ -1,14 +1,12 @@ # Copyright (C) 2013-2015 all contributors # License: GPLv3 or later begin - require 'sleepy_penguin' -rescue LoadError -end +require 'sleepy_penguin' # used to restart DTAS::Source::SplitFX processing in dtas-player # if the YAML file is edited -module DTAS::Watchable - class InotifyReadableIter < SleepyPenguin::Inotify +module DTAS::Watchable # :nodoc: + class InotifyReadableIter < SleepyPenguin::Inotify # :nodoc: def self.new super(:CLOEXEC) end @@ -62,4 +60,7 @@ module DTAS::Watchable srv.wait_ctl(@ino, :delete) @ino = @ino.close end -end if defined?(SleepyPenguin::Inotify) +end + +rescue LoadError +end -- cgit v1.2.3-24-ge0c7