{"id":86348,"library":"dumb-delegator","title":"DumbDelegator","description":"A delegator that delegates nearly everything to the wrapped object, avoiding Kernel pollution.","status":"active","version":"1.1.0","language":"ruby","source_language":null,"source_url":"https://github.com/stevenharman/dumb_delegator","tags":["delegation","utility","ruby","design-patterns"],"install":[{"cmd":"gem install dumb_delegator","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'dumb_delegator', '~> 1.1.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"DumbDelegator","correct":"require 'dumb_delegator'"}],"quickstart":{"code":"require 'dumb_delegator'\nclass MyDelegator < DumbDelegator\n  def initialize(obj)\n    super\n  end\nend\nd = MyDelegator.new([1,2,3])\nputs d.length","lang":"ruby","description":"Creates a delegator that forwards most methods to the wrapped array."},"warnings":[],"env_vars":null,"search_vec":"'avoid':12 'deleg':3,5,15 'design':19 'design-pattern':18 'dumbdeleg':1 'everyth':7 'kernel':13 'near':6 'object':11 'pattern':20 'pollut':14 'rubi':17 'util':16 'wrap':10","created_at":"2026-06-19T07:59:53.298781+00:00","updated_at":"2026-06-19T07:59:53.298781+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/stevenharman/dumb_delegator","github":"https://github.com/stevenharman/dumb_delegator","docs":"http://www.rubydoc.info/gems/dumb_delegator/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}