• Michael Kozono's avatar
    Remove send-in-send for safety and readability · f2fa7c10
    Michael Kozono authored
    I attempted to refactor so that the caller of `wrap_method` passes in a
    block, rather than a method name, but I was unsuccessful.
    
    I kept getting the following error:
    
    NoMethodError:
            undefined method `cache_method_output' for Repository:Class
    
    If you can figure this out, then feel free to dry up these class methods
    again without doing a send-within-a-send.
    f2fa7c10
repository_cache_adapter.rb 5.78 KB