class Raven::BreadcrumbBuffer

Included Modules

Defined in:

raven/breadcrumb_buffer.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(size = 100) #

[View source]

Class Method Detail

def self.clear! #

[View source]
def self.current #

[View source]

Instance Method Detail

def buffer : Array(Breadcrumb | Nil) #

[View source]
def each(&) #
Description copied from module Enumerable(Raven::Breadcrumb)

Must yield this collection's elements to the block.


[View source]
def empty? #
Description copied from module Enumerable(Raven::Breadcrumb)

Returns true if self does not contain any element.

([] of Int32).empty? # => true
([1]).empty?         # => false
[nil, false].empty?  # => false
  • #present? returns the inverse.

[View source]
def members : Array(Breadcrumb) #

[View source]
def peek #

[View source]
def record(crumb : Breadcrumb) : Nil #

[View source]
def record(**opts, &) : Nil #

[View source]
def record(opts : NamedTuple) : Nil #

[View source]
def record(**opts) : Nil #

[View source]
def to_hash #

[View source]