1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model/conversion.rb
2009-07-21 00:51:57 -05:00

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