Sha256: 71267a2dc65e5bc627028caebbc29b7a351dd4a3f06dec94a03a3769a946d2a1
Contents?: true
Size: 256 Bytes
Versions: 2
Compression:
Stored size: 256 Bytes
Contents
# frozen_string_literal: true require 'delegate' module Magic module Decorator class Base < SimpleDelegator extend Lookup class << self def name_for(object_class) = "#{object_class}Decorator" end def decorated? = true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
magic-decorator-0.1.0.1 | lib/magic/decorator/base.rb |
magic-decorator-0.1.0 | lib/magic/decorator/base.rb |