1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -50,7 +50,6 @@ module ActionController
end
private
# :nodoc:
def include_content?(status)
case status
when 100..199

View file

@ -138,6 +138,8 @@ end
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}"

View file

@ -141,6 +141,7 @@ module ActiveSupport #:nodoc:
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.'

View file

@ -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