Subroutine makes it easy to write encapsulated, feature-driven code. It handles the boilerplate of inputs, outputs, type casting, and validation and lets you focus on the important functional code.
-
Updated
Apr 15, 2026 - Ruby
Subroutine makes it easy to write encapsulated, feature-driven code. It handles the boilerplate of inputs, outputs, type casting, and validation and lets you focus on the important functional code.
Powerful Service Object for Ruby applications
Robust service architecture for Ruby frameworks
Define your business logic in simple steps
Ruby operations with enforced contracts for input/output/error data structures
A simple orchestration framework to reduce over your (service) objects like a pro.
simplifies command execution with a clear Success/Failure result pattern, promoting clean, organized, and context-rich service logic.
flexible and highly extensible Service Objects for business logic organization
A Python package to help implement the Service Object pattern, inspired by Ruby's SimpleCommand gem.
Encapsulates business logic in isolated, reusable operation classes for clarity and testability.
Steroids Gem for Rails 🛤
Simpler, safer and more composable operations
💎 AuxiliaryRails gem - a collection of classes, scripts, generators for Ruby on Rails helping you get things done, better and faster.
InteractorSupport extends the Interactor pattern to make your business logic more concise, expressive, and robust.
ActiveRecord lookalike but for business model requirements. a.k.a Service Objects
Ruby Simpleton
A POC created to sustain study and discussion at my workplace. This is a very minimal implementation of the service object pattern with composable objects.
A tiny Ruby Gem providing a simple interface for Service Objects.
Add a description, image, and links to the service-objects topic page so that developers can more easily learn about it.
To associate your repository with the service-objects topic, visit your repo's landing page and select "manage topics."