class RailsAdmin::Adapters::Mongoid::Property

Public Instance Methods

type() click to toggle source
# File lib/mongoid_snappy/rails_admin.rb, line 12
def type
  if property.type.to_s == 'Mongoid::Snappy'
    :mongoid_snappy
  else
    type_without_mongoid_snappy
  end
end
Also aliased as: type_without_mongoid_snappy
type_without_mongoid_snappy()
Alias for: type