class Sentry::BreadcrumbBuffer

def record(crumb)

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

def record: (Sentry::Breadcrumb crumb) -> untyped

This signature was generated using 3 samples from 1 application.

Returns:
  • (void) -

Parameters:
  • crumb (Breadcrumb) --
def record(crumb)
  yield(crumb) if block_given?
  @buffer.slice!(0)
  @buffer << crumb
end