class ActiveSupport::Deprecation::DeprecatedConstantProxy

def class

PLANETS.class # => Array
PLANETS = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('PLANETS', 'PLANETS_POST_2006')
PLANETS_POST_2006 = %w(mercury venus earth mars jupiter saturn uranus neptune)

Returns the class of the new constant.
def class
  target.class
end