class ActiveAdmin::Mongoid::Document::ColumnWrapper

PROXY CLASSES

Public Instance Methods

type() click to toggle source
Calls superclass method
# File lib/active_admin/mongoid/document.rb, line 12
def type
  _super = super
  case _super
  when BSON::ObjectId, Object
    :string
  else
    _super.name.underscore.to_sym
  end
end