Skip to content
Browse files

Added a space after the commas in ri class method lists.

  • Loading branch information...
1 parent fd81f1d commit ae5800437fb0da8c160b1b1da1e52778ee123122 designingpatts committed Sep 28, 2008
Showing with 13 additions and 2 deletions.
  1. +10 −0 History.txt
  2. +1 −1 lib/rdoc/ri/display.rb
  3. +2 −1 test/test_rdoc_ri_default_display.rb
View
10 History.txt
@@ -1,3 +1,13 @@
+=== ? / 200?-??-??
+
+* X Major Enhancements
+
+* Y Minor Enhancements
+** Added a space after the commas in class method lists (rubyforge enhancement
+ 22182).
+
+* Z Bug Fixes
+
=== 2.2.1 / 2008-09-24
This version provides some minor fixes and enhancements to 2.2.0 intended
to polish RDoc for Ruby 1.9.1.
View
2 lib/rdoc/ri/display.rb
@@ -217,7 +217,7 @@ def display_class_method_list(klass)
end
method_names.sort!
- @formatter.wrap method_names.join(',')
+ @formatter.wrap method_names.join(', ')
end
end
View
3 test/test_rdoc_ri_default_display.rb
@@ -52,6 +52,7 @@ def test_display_class_info
'includes' => [],
'instance_methods' => [
{ 'name' => 'instance_method' },
+ { 'name' => 'instance_method2' },
],
'instance_method_extensions' => [
{ 'name' => 'instance_method_extension' },
@@ -100,7 +101,7 @@ def test_display_class_info
Instance methods:
-----------------
- instance_method
+ instance_method, instance_method2
Instance method extensions:

0 comments on commit ae58004

Please sign in to comment.
Something went wrong with that request. Please try again.