Sha256: 7f60668c512448c4315adab79c6aa5bdc1cd4da87683fd0024498119ae23262a
Contents?: true
Size: 611 Bytes
Versions: 12
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true module Decidim module Dev class OfficialAuthorPresenter def name self.class.name end def nickname Decidim::UserBaseEntity.nicknamize(name) end def deleted? false end def respond_to_missing?(*) true end def method_missing(method, *args) if method.to_s.ends_with?("?") false elsif [:avatar_url, :profile_path, :badge, :followers_count, :cache_key_with_version].include?(method) "" else super end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems