BigW Consortium Gitlab

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