summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-26 13:13:57 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2016-05-26 13:58:01 +0200
commit94d5416db6415b06706204fb4a4df0100bcab7be (patch)
tree566e4525629241e3182296afd12e4e92ebaa863f /app/controllers/projects_controller.rb
parent309ca405fa30e1eeaeaeddc0c8918e65c98ebbf7 (diff)
downloadgitlab-ce-94d5416db6415b06706204fb4a4df0100bcab7be.tar.gz
Added Gitlab::Lazy
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.
Diffstat (limited to 'app/controllers/projects_controller.rb')
0 files changed, 0 insertions, 0 deletions