1 2 3 4 5 6 7
module Presentable def present(**attributes) Gitlab::View::Presenter::Factory. new(self, attributes). fabricate! end end