From 661c2811db71523e1c7fd5d8d5bad8e6640da68a Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Thu, 18 Sep 2008 13:16:18 +0800 Subject: [PATCH] Manage RDoc scope better with appropriate use of :nodoc:. Signed-off-by: Scott Chacon --- lib/munger/data.rb | 2 +- lib/munger/item.rb | 2 +- lib/munger/render.rb | 2 +- lib/munger/render/csv.rb | 6 +++--- lib/munger/render/html.rb | 4 ++-- lib/munger/render/sortable_html.rb | 4 ++-- lib/munger/render/text.rb | 4 ++-- lib/munger/report.rb | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/munger/data.rb b/lib/munger/data.rb index 167e521..4ddf10f 100644 --- a/lib/munger/data.rb +++ b/lib/munger/data.rb @@ -1,4 +1,4 @@ -module Munger +module Munger #:nodoc: # this class is a data munger # it takes raw data (arrays of hashes, basically) diff --git a/lib/munger/item.rb b/lib/munger/item.rb index 4b5b9a2..c6a96b7 100644 --- a/lib/munger/item.rb +++ b/lib/munger/item.rb @@ -1,4 +1,4 @@ -module Munger +module Munger #:nodoc: class Item diff --git a/lib/munger/render.rb b/lib/munger/render.rb index 42deca8..ad666ef 100644 --- a/lib/munger/render.rb +++ b/lib/munger/render.rb @@ -1,6 +1,6 @@ # Munger::Render.to_html(report) -module Munger +module Munger #:nodoc: module Render def self.to_html(report, options = {}) diff --git a/lib/munger/render/csv.rb b/lib/munger/render/csv.rb index 48957ee..9c32700 100644 --- a/lib/munger/render/csv.rb +++ b/lib/munger/render/csv.rb @@ -1,6 +1,6 @@ -module Munger - module Render - class CSV +module Munger #:nodoc: + module Render #:nodoc: + class CSV #:nodoc: attr_reader :report diff --git a/lib/munger/render/html.rb b/lib/munger/render/html.rb index c8b783f..65c9f28 100644 --- a/lib/munger/render/html.rb +++ b/lib/munger/render/html.rb @@ -5,8 +5,8 @@ require 'builder' end -module Munger - module Render +module Munger #:nodoc: + module Render #:nodoc: class Html attr_reader :report, :classes diff --git a/lib/munger/render/sortable_html.rb b/lib/munger/render/sortable_html.rb index 5a5211f..36babbd 100644 --- a/lib/munger/render/sortable_html.rb +++ b/lib/munger/render/sortable_html.rb @@ -1,6 +1,6 @@ require 'builder' -module Munger - module Render +module Munger #:nodoc: + module Render #:nodoc: # Render a table that lets the user sort the columns class SortableHtml diff --git a/lib/munger/render/text.rb b/lib/munger/render/text.rb index a734d4a..0b56246 100644 --- a/lib/munger/render/text.rb +++ b/lib/munger/render/text.rb @@ -1,5 +1,5 @@ -module Munger - module Render +module Munger #:nodoc: + module Render #:nodoc: class Text attr_reader :report diff --git a/lib/munger/report.rb b/lib/munger/report.rb index 78004d0..f15f3c7 100644 --- a/lib/munger/report.rb +++ b/lib/munger/report.rb @@ -1,4 +1,4 @@ -module Munger +module Munger #:nodoc: class Report