class ManualPresenter
  def initialize(manual)
    @manual = manual
  end

  def title
    manual.title
  end

  def summary
    manual.summary
  end

  def body
    GovspeakHtmlConverter.new.call(manual.body)
  end

  def valid?
    manual.valid?
  end

  def errors
    manual.errors
  end

private

  attr_reader :manual
end

class ManualPresenter
  def initialize(manual)
    @manual = manual
  end

  delegate :title, to: :@manual
  delegate :summary, to: :@manual
  delegate :valid?, to: :@manual
  delegate :errors, to: :@manual

  def body
    GovspeakHtmlConverter.new.call(@manual.body)
  end
end

Use `delegate` instead of explicit delegation
Use `delegate` instead of explicit delegation

This commit makes ManualPresenter consistent with SectionPresenter by
using the same delegation style introduced in 20cd0833.
