nodoc ActionView::ModelNaming module
- Its only used by ActionView internals and not supposed to be used through public API.
This commit is contained in:
parent
dc7d7fd6f2
commit
b417e0b753
@ -1,5 +1,5 @@
|
||||
module ActionView
|
||||
module ModelNaming
|
||||
module ModelNaming #:nodoc:
|
||||
# Converts the given object to an ActiveModel compliant one.
|
||||
def convert_to_model(object)
|
||||
object.respond_to?(:to_model) ? object.to_model : object
|
||||
|
Loading…
Reference in New Issue
Block a user