aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/conversion.rb
blob: d5c65920f65da53873c0f9f4912f988deb7a9680 (plain) (blame)
1
2
3
4
5
6
7
8
module ActiveModel
  # Include ActiveModel::Conversion if your object "acts like an ActiveModel model".
  module Conversion
    def to_model
      self
    end
  end
end