← Graph

decide_rb

tool 3 connections

Ruby gem created by the speaker of a wroclove.rb 2025 lightning talk on the decider pattern. Named decide_rb because 'decider' was taken on RubyGems for 15 years. Demonstrates the decider pattern with an initial state, a decide function combining commands and state into events (supporting both pattern-matching-style blocks and proc-returns-true branches), and an evolve function producing new state. Implementation style is inspired by the aggregates repository from Arkency, simplified for demonstration. Presented as a competition to the array-sample approach.

category
library
language
Ruby
about
decide_rb tool
The speaker introduces the decide_rb gem as his implementation of the decider pattern.
tool decide_rb
related_to
Decider Pattern concept
decide_rb implements the decider pattern in Ruby.
tool decide_rb
related_to
decide_rb is inspired by code from Arkency's aggregates repository.

Provenance

Created in
wroclove.rb 2025 lightning talks 2026-04-18 08:03
Read by
3 extractions