mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
9 lines
170 B
Ruby
9 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
|