Sha256: c63d2eb7f81fc98793a4361730120ac303c315d3677c01a8694cc52ac3e69871
Contents?: true
Size: 386 Bytes
Versions: 4
Compression:
Stored size: 386 Bytes
Contents
module LazyResource class ConfigurationDelegate def method_missing(method_name, *args, &block) [LazyResource::Resource, LazyResource].each do |klass| if klass.respond_to?(method_name) return klass.send(method_name, *args, &block) end end # if we didn't return from the each above, the method wasn't found super end end end
Version data entries
4 entries across 4 versions & 1 rubygems