← Graph

Interface Wrapper for Ruby

concept 1 connections

Custom helper the speaker built to simulate interfaces in Ruby: define a module listing methods, mark objects as implementing it, and return instances scoped so only those methods are callable — hiding ActiveRecord internals like destroy or relations.

category
pattern
about
Interface Wrapper for Ruby concept
Presents a module-based interface wrapper to scope aggregate public contracts.

Provenance

Read by
11 extractions