class ContentBlockTools::Presenters::BasePresenter

def content

Returns:
  • (string) - A representation of the content block to be wrapped in the base_tag in
def content
  if field_names.present?
    content_for_fields
  else
    default_content
  end
end