class ActiveSupport::CodeGenerator::MethodSet

def apply(owner, path, line)

Experimental RBS support (using type sampling data from the type_fusion project).

def apply: ((Module | ActiveRecord::AttributeMethods::GeneratedAttributeMethods) owner, String path, Integer line) -> untyped

This signature was generated using 9 samples from 2 applications.

def apply(owner, path, line)
  unless @sources.empty?
    @cache.module_eval("# frozen_string_literal: true\n" + @sources.join(";"), path, line)
  end
  @methods.each do |name, as|
    owner.define_method(name, @cache.instance_method(as))
  end
end