Daniel Goh
Decorating Service Objects - FunctionalObject Jul 30, 2021 Programming A common pattern used in Ruby programs are Service Objects. They help enforce the Single-responsibility Principle throughout the app, which in turn Deconstructing Block Arguments In Ruby Jul 27, 2021 Programming We usually use block arguments like so: We also know that we can deconstruct the arguments using the splat operator, like so: But what I recently Inspecting Ruby Method Params Jul 21, 2021 Programming At work, a colleague of mine created a gem that our company’s codebase uses. It inspects the Ruby background job classes we have and presents them