Sha256: 059b68025d1e7a742062a09b804cb976733a8ecc8d26e02a045971c0cb9c2167

Contents?: true

Size: 170 Bytes

Versions: 3

Compression:

Stored size: 170 Bytes

Contents

module ActiveModel
  # Include ActiveModel::Conversion if your object "acts like an ActiveModel model".
  module Conversion
    def to_model
      self
    end
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
cassandra_object-0.6.0.pre vendor/activemodel/lib/active_model/conversion.rb
activemodel-3.0.pre lib/active_model/conversion.rb
recliner-0.0.1 vendor/activemodel/lib/active_model/conversion.rb