Fix nodoc to internal class error document some of them

[ci skip]
Fixes #20808

[Vipul A M & Julio Lopez]
This commit is contained in:
Vipul A M 2016-01-25 02:16:46 +05:30
parent 5119171d39
commit c7281b37ac
4 changed files with 5 additions and 1 deletions

@ -50,7 +50,6 @@ def head(status, options = {})
end
private
# :nodoc:
def include_content?(status)
case status
when 100..199

@ -138,6 +138,8 @@ def from_trusted_xml(xml)
module ActiveSupport
class XMLConverter # :nodoc:
# Raised if the XML contains attributes with type="yaml" or
# type="symbol". Read Hash#from_xml for more details.
class DisallowedType < StandardError
def initialize(type)
super "Disallowed type attribute: #{type.inspect}"

@ -141,6 +141,7 @@ class SafeBuffer < String
alias_method :original_concat, :concat
private :original_concat
# Raised when <tt>ActiveSupport::SafeBuffer#safe_concat</tt> is called on unsafe buffers.
class SafeConcatError < StandardError
def initialize
super 'Could not concatenate to the buffer because it is not html safe.'

@ -1,6 +1,8 @@
require "active_support/notifications"
module ActiveSupport
# Raised when <tt>ActiveSupport::Deprecation::Behavior#behavior</tt> is set with <tt>:raise</tt>.
# You would set <tt>:raise</tt>, as a behaviour to raise errors and proactively report exceptions from deprecations.
class DeprecationException < StandardError
end