piscolomo/ruby-patterns resource
Examples of Patterns in Ruby observed · 2026-09-03
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4176
- days_rel: n/a
- days_push: 3425
- n_releases_24m: 0
Adoption not part of the score
1001 stars · 102 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of Ruby code examples demonstrating classic software design patterns such as Adapter, Builder, Command, Decorator, Factory, Observer, Singleton, and Strategy. It serves as a reference for learning how Gang of Four patterns are implemented idiomatically in Ruby.
Use cases
- learn how to implement design patterns in Ruby
- see a working example of the adapter pattern
- understand the difference between builder and factory patterns
- find a Ruby example of the observer pattern
- study singleton and strategy pattern implementations
- reference for teaching design patterns
When to choose
- you are learning or teaching classic design patterns with Ruby examples
- you want concise, runnable code snippets for each GoF pattern
- you need a quick reference while refactoring Ruby code toward known patterns
When to avoid
- you need a production-ready pattern library or gem to depend on
- you work in a language other than Ruby
- you need actively maintained or officially licensed material (no license is provided)
Facets
learning-resource · maturity maintenance
developer-tools documentation developer-tools tutorials programming-languages ruby design-patterns ruby code-examples gang-of-four educational
1 source
- readme: https://github.com/piscolomo/ruby-patterns · fetched 2026-09-03 · abf1e04570f9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| piscolomo/ruby-patterns | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="piscolomo/ruby-patterns")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem