Skip to content

Commit ce55044

Browse files
committed
Complete documentation
1 parent 63f798a commit ce55044

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

lib/gauntlet_rdoc.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class RDoc::Gauntlet < Gauntlet
1111

12-
def initialize
12+
def initialize # :nodoc:
1313
super
1414

1515
@args = nil
@@ -62,6 +62,10 @@ def run name
6262
puts
6363
end
6464

65+
##
66+
# Runs the gauntlet with the given +type+ (rdoc or ri) and +filter+ for
67+
# which gems to run
68+
6569
def run_the_gauntlet type = 'rdoc', filter = nil
6670
@type = type || 'rdoc'
6771
@args = type == 'rdoc' ? [] : %w[--ri]

lib/rdoc.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ def self.const_missing const_name # :nodoc:
145145
METHOD_MODIFIERS = GENERAL_MODIFIERS +
146146
%w[arg args yield yields notnew not-new not_new doc]
147147

148+
##
149+
# Loads the best available YAML library.
150+
148151
def self.load_yaml
149152
begin
150153
gem 'psych'

0 commit comments

Comments
 (0)