From 9ac1ce11ad9ec22157d2e542437c5c5cccaf58fe Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Tue, 24 Jun 2014 14:16:29 +0200 Subject: [PATCH] `:nodoc: all` does not remove the constants from the API. [ci skip] Need to add individual `:nodoc:` for nested classes / modules to completely remove the constants from the API. --- actionpack/lib/action_controller/metal/live.rb | 2 +- railties/lib/rails/test_unit/sub_test_task.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb index 67875141cb..706ce04062 100644 --- a/actionpack/lib/action_controller/metal/live.rb +++ b/actionpack/lib/action_controller/metal/live.rb @@ -205,7 +205,7 @@ def call_on_error end class Response < ActionDispatch::Response #:nodoc: all - class Header < DelegateClass(Hash) + class Header < DelegateClass(Hash) # :nodoc: def initialize(response, header) @response = response super(header) diff --git a/railties/lib/rails/test_unit/sub_test_task.rb b/railties/lib/rails/test_unit/sub_test_task.rb index d9bffba4d7..6fa96d2ced 100644 --- a/railties/lib/rails/test_unit/sub_test_task.rb +++ b/railties/lib/rails/test_unit/sub_test_task.rb @@ -7,7 +7,7 @@ class TestTask < Rake::TestTask # :nodoc: all # # This class takes a TestInfo class and defines the appropriate rake task # based on the information, then invokes it. - class TestCreator + class TestCreator # :nodoc: def initialize(info) @info = info end @@ -41,7 +41,7 @@ def reset_application_tasks # to test files (or can be transformed into test files). Calling files # provides the set of test files and is used when initializing tests after # a call to rake test. - class TestInfo + class TestInfo # :nodoc: def initialize(tasks) @tasks = tasks @files = nil -- GitLab