module Rohbau::Registry::Implementation
Public Instance Methods
cache(name, &block)
click to toggle source
# File lib/rohbau/registry.rb, line 9 def cache(name, &block) @cache ||= {} @cache[name] ||= block.call end