Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add :nodoc: to internal implementations [ci skip]

  • Loading branch information...
commit bc7ac33846274a0d2c93741bf6df441d4853e4e9 1 parent 96ce1f2
@frodsan frodsan authored
View
2  actionpack/lib/action_controller/test_case.rb
@@ -576,7 +576,7 @@ def html_format?(parameters)
#
# The exception is stored in the exception accessor for further inspection.
module RaiseActionExceptions
- def self.included(base)
+ def self.included(base) #:nodoc:
unless base.method_defined?(:exception) && base.method_defined?(:exception=)
base.class_eval do
attr_accessor :exception
View
2  activemodel/lib/active_model/attribute_methods.rb
@@ -459,7 +459,7 @@ def respond_to?(method, include_private_methods = false)
end
protected
- def attribute_method?(attr_name)
+ def attribute_method?(attr_name) #:nodoc:
respond_to_without_attributes?(:attributes) && attributes.include?(attr_name)
end
View
2  activemodel/lib/active_model/callbacks.rb
@@ -46,7 +46,7 @@ module ActiveModel
# Would only create the +after_create+ and +before_create+ callback methods in
# your class.
module Callbacks
- def self.extended(base)
+ def self.extended(base) #:nodoc:
base.class_eval do
include ActiveSupport::Callbacks
end
View
2  activemodel/lib/active_model/errors.rb
@@ -76,7 +76,7 @@ def initialize(base)
@messages = {}
end
- def initialize_dup(other)
+ def initialize_dup(other) #:nodoc:
@messages = other.messages.dup
super
end
View
2  activemodel/lib/active_model/model.rb
@@ -54,7 +54,7 @@ module ActiveModel
# For more detailed information on other functionalities available, please refer
# to the specific modules included in <tt>ActiveModel::Model</tt> (see below).
module Model
- def self.included(base)
+ def self.included(base) #:nodoc:
base.class_eval do
extend ActiveModel::Naming
extend ActiveModel::Translation
View
2  activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
@@ -2,7 +2,7 @@ module ActiveRecord
module ConnectionAdapters # :nodoc:
module QueryCache
class << self
- def included(base)
+ def included(base) #:nodoc:
dirties_query_cache base, :insert, :update, :delete
end
View
5 activesupport/lib/active_support/concern.rb
@@ -56,7 +56,7 @@ module ActiveSupport
# these from +Host+ directly including +Foo+ in +Bar+:
#
# module Bar
- # include Foo
+ # include Foo
# def self.included(base)
# base.method_injected_by_foo
# end
@@ -94,9 +94,8 @@ module ActiveSupport
# class Host
# include Bar # works, Bar takes care now of its dependencies
# end
- #
module Concern
- def self.extended(base)
+ def self.extended(base) #:nodoc:
base.instance_variable_set("@_dependencies", [])
end
View
2  activesupport/lib/active_support/testing/declarative.rb
@@ -2,7 +2,7 @@ module ActiveSupport
module Testing
module Declarative
- def self.extended(klass)
+ def self.extended(klass) #:nodoc:
klass.class_eval do
unless method_defined?(:describe)
View
2  activesupport/lib/active_support/testing/isolation.rb
@@ -64,7 +64,7 @@ def each
end
end
- def self.included klass
+ def self.included(klass) #:nodoc:
klass.extend(Module.new {
def test_methods
ParallelEach.new super
View
2  railties/lib/rails/initializable.rb
@@ -2,7 +2,7 @@
module Rails
module Initializable
- def self.included(base)
+ def self.included(base) #:nodoc:
base.extend ClassMethods
end
Please sign in to comment.
Something went wrong with that request. Please try again.