class Raven::BreadcrumbBuffer
- Raven::BreadcrumbBuffer
- Reference
- Object
Included Modules
- Enumerable(Raven::Breadcrumb)
Defined in:
raven/breadcrumb_buffer.crConstructors
Class Method Summary
Instance Method Summary
- #buffer : Array(Breadcrumb | Nil)
-
#each(&)
Must yield this collection's elements to the block.
-
#empty?
Returns
true
ifself
does not contain any element. - #members : Array(Breadcrumb)
- #peek
- #record(crumb : Breadcrumb) : Nil
- #record(**opts, &) : Nil
- #record(opts : NamedTuple) : Nil
- #record(**opts) : Nil
- #to_hash
Constructor Detail
Class Method Detail
Instance Method Detail
def each(&)
#
Description copied from module Enumerable(Raven::Breadcrumb)
Must yield this collection's elements to the block.
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.