class method
self.behavior=
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.2.22.5Signature
self.behavior=(behavior)
No documentation comment.
Parameters
-
behaviorreq
Source
# File activesupport/lib/active_support/deprecation/behaviors.rb, line 14
def behavior=(behavior)
@behavior = Array.wrap(behavior).map { |b| DEFAULT_BEHAVIORS[b] || b }
end
Defined in activesupport/lib/active_support/deprecation/behaviors.rb line 14
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation