Permalink
Browse files

Fix nodoc to internal class error document some of them

[ci skip]
Fixes #20808

[Vipul A M & Julio Lopez]
  • Loading branch information...
vipulnsward committed Jan 24, 2016
1 parent 5119171 commit c7281b37ac35dd5522b1333a5c89bb399e566b93
@@ -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

0 comments on commit c7281b3

Please sign in to comment.