class method self.new

Ruby on Rails 8.1.2

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

self.new(namespace)

No documentation comment.

Parameters

namespace req
Source
# File activesupport/lib/active_support/code_generator.rb, line 8
      def initialize(namespace)
        @cache = METHOD_CACHES[namespace]
        @sources = []
        @methods = {}
        @canonical_methods = {}
      end

Defined in activesupport/lib/active_support/code_generator.rb line 8 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::CodeGenerator::MethodSet

Type at least 2 characters to search.

↑↓ navigate · open · esc close