mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8 lines
170 B
Ruby
8 lines
170 B
Ruby
module ActiveModel
|
|
# Include ActiveModel::Conversion if your object "acts like an ActiveModel model".
|
|
module Conversion
|
|
def to_model
|
|
self
|
|
end
|
|
end
|
|
end
|