module EdgeRider::OriginClass

Public Instance Methods

origin_class() click to toggle source
# File lib/edge_rider/origin_class.rb, line 4
def origin_class
  scope = scoped({})
  while scope.respond_to?(:klass, true)
    scope = scope.klass
  end
  scope
end