Sha256: e8a8972db2c12d94f33af8bda2ad7efc225e38cea00a0ac8d745e62b877b5dff
Contents?: true
Size: 581 Bytes
Versions: 57
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true module Decidim # This concern contains the logic related to being an author. # # it mainly declares abstract methods to be implemented by artifacts # including it in its inheritance hierarchy. # module ActsAsAuthor extend ActiveSupport::Concern included do # Authors of Authorables must provide its presenters. # # Return: The presenter for the current author. def presenter raise NotImlementedError, "Authors must return an instance of its Presenter via this method." end end end end
Version data entries
57 entries across 57 versions & 1 rubygems