method

new

rails latest stable - Class: ActiveSupport::Dependencies::Reference

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

new(name)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 532
      def initialize(name)
        @name = name.to_s
        @@constants[@name] = name if name.respond_to?(:name)
      end