File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
activesupport/lib/active_support/deprecation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,31 +56,31 @@ def debug=(debug)
56
56
# Sets the deprecation warning behavior for all deprecators in this
57
57
# collection.
58
58
#
59
- # See ActiveSupport::Deprecation::Behavior #behavior=.
59
+ # See ActiveSupport::Deprecation#behavior=.
60
60
def behavior = ( behavior )
61
61
set_option ( :behavior , behavior )
62
62
end
63
63
64
64
# Sets the disallowed deprecation warning behavior for all deprecators in
65
65
# this collection.
66
66
#
67
- # See ActiveSupport::Deprecation::Behavior #disallowed_behavior=.
67
+ # See ActiveSupport::Deprecation#disallowed_behavior=.
68
68
def disallowed_behavior = ( disallowed_behavior )
69
69
set_option ( :disallowed_behavior , disallowed_behavior )
70
70
end
71
71
72
72
# Sets the disallowed deprecation warnings for all deprecators in this
73
73
# collection.
74
74
#
75
- # See ActiveSupport::Deprecation::Disallowed #disallowed_warnings=.
75
+ # See ActiveSupport::Deprecation#disallowed_warnings=.
76
76
def disallowed_warnings = ( disallowed_warnings )
77
77
set_option ( :disallowed_warnings , disallowed_warnings )
78
78
end
79
79
80
80
# Silences all deprecators in this collection for the duration of the
81
81
# given block.
82
82
#
83
- # See ActiveSupport::Deprecation::Reporting #silence.
83
+ # See ActiveSupport::Deprecation#silence.
84
84
def silence ( &block )
85
85
each { |deprecator | deprecator . begin_silence }
86
86
block . call
You can’t perform that action at this time.
0 commit comments