instance method
parent
Ruby on Rails 6.0.6
Since v3.0.20 Last seen in v6.0.6Signature
parent()
No documentation comment.
Source
# File activesupport/lib/active_support/core_ext/module/introspection.rb, line 47
def parent
ActiveSupport::Deprecation.warn(<<-MSG.squish)
`Module#parent` has been renamed to `module_parent`.
`parent` is deprecated and will be removed in Rails 6.1.
MSG
module_parent
end
Defined in activesupport/lib/active_support/core_ext/module/introspection.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Module