From 59aa3ea56e72986bec9482326b4b975ebb4b850a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 25 Jun 2015 11:17:11 +0000 Subject: doc: avoid inadvertantly documenting the Process class rdoc seems to think we implement something for Process, we do not. --- lib/mogilefs.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mogilefs.rb b/lib/mogilefs.rb index cf6b5df..e2a621f 100644 --- a/lib/mogilefs.rb +++ b/lib/mogilefs.rb @@ -5,6 +5,7 @@ # Client usage information is available in MogileFS::MogileFS. module MogileFS + # :stopdoc: if defined?(Process::CLOCK_MONOTONIC) def self.now Process.clock_gettime(Process::CLOCK_MONOTONIC) @@ -14,6 +15,7 @@ module MogileFS Time.now.to_f end end + # :startdoc: # Standard error class for most MogileFS-specific errors Error = Class.new(StandardError) -- cgit v1.2.3-24-ge0c7