diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-22 14:41:06 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-22 14:41:06 -0700 |
commit | 3726080ecea8b34edeac37f358e8dd050cbb00cb (patch) | |
tree | fcad86f85494f96fcc667073d8a97e1229ff7222 /activemodel/lib | |
parent | 96ce1f2553f895bfd25e7ca677fb7ed746d04fdd (diff) | |
parent | bc7ac33846274a0d2c93741bf6df441d4853e4e9 (diff) | |
download | rails-3726080ecea8b34edeac37f358e8dd050cbb00cb.tar.gz rails-3726080ecea8b34edeac37f358e8dd050cbb00cb.tar.bz2 rails-3726080ecea8b34edeac37f358e8dd050cbb00cb.zip |
Merge pull request #6832 from frodsan/nodoc_patch1
add :nodoc: to internal implementations [ci skip]
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/attribute_methods.rb | 2 | ||||
-rw-r--r-- | activemodel/lib/active_model/callbacks.rb | 2 | ||||
-rw-r--r-- | activemodel/lib/active_model/errors.rb | 2 | ||||
-rw-r--r-- | activemodel/lib/active_model/model.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index f30d00b355..2242c59131 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -459,7 +459,7 @@ module ActiveModel end protected - def attribute_method?(attr_name) + def attribute_method?(attr_name) #:nodoc: respond_to_without_attributes?(:attributes) && attributes.include?(attr_name) end diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb index b8ba1a0a52..80385c2614 100644 --- a/activemodel/lib/active_model/callbacks.rb +++ b/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 diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb index 6307477145..567677bbb9 100644 --- a/activemodel/lib/active_model/errors.rb +++ b/activemodel/lib/active_model/errors.rb @@ -76,7 +76,7 @@ module ActiveModel @messages = {} end - def initialize_dup(other) + def initialize_dup(other) #:nodoc: @messages = other.messages.dup super end diff --git a/activemodel/lib/active_model/model.rb b/activemodel/lib/active_model/model.rb index 3af95b09b0..cb0a051ca5 100644 --- a/activemodel/lib/active_model/model.rb +++ b/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 |