12 lines
238 B
Ruby
12 lines
238 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Procedure::PendingRepublishComponent < ApplicationComponent
|
|
def initialize(procedure:, render_if:)
|
|
@procedure = procedure
|
|
@render_if = render_if
|
|
end
|
|
|
|
def render?
|
|
@render_if
|
|
end
|
|
end
|