Module: EdgeRider::OriginClass
Instance Method Summary collapse
Instance Method Details
#origin_class ⇒ Object
4 5 6 7 8 9 10 |
# 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 |