Skip to content

Change inspect string to be runnable#25

Merged
fhunleth merged 1 commit into
mainfrom
inspect-size
Jul 19, 2026
Merged

Change inspect string to be runnable#25
fhunleth merged 1 commit into
mainfrom
inspect-size

Conversation

@fhunleth

Copy link
Copy Markdown
Collaborator

This adds new/2 that takes an Enumerable so that a single line
CircularBuffer.new([...], n) can be returned from inspect.

It's also now possible to see the max size of the buffer.

This adds `new/2` that takes an Enumerable so that a single line
`CircularBuffer.new([...], n)` can be returned from `inspect`.

It's also now possible to see the max size of the buffer.
@fhunleth
fhunleth merged commit 61850a9 into main Jul 19, 2026
14 checks passed
@fhunleth
fhunleth deleted the inspect-size branch July 19, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant