class ActiveSupport::CodeGenerator

def batch(owner, path, line)

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

def batch: (ActiveSupport::CodeGenerator owner, String path, Integer line) -> Concurrent::Map

This signature was generated using 5 samples from 1 application.

def batch(owner, path, line)
  if owner.is_a?(CodeGenerator)
    yield owner
  else
    instance = new(owner, path, line)
    result = yield instance
    instance.execute
    result
  end
end