• Yorick Peterse's avatar
    Added Gitlab::Lazy · 94d5416d
    Yorick Peterse authored
    This class can be used to lazy-evaluate blocks of code the first time
    they're called. This can be useful when a method performs a certain
    heavy operation (e.g. a SQL query) that you only want to perform
    whenever the result is used for the first time.
    94d5416d