global

def rich_text_info(object, attribute)

def rich_text_info(object, attribute)
  value = object.respond_to?(attribute) ? object.public_send(attribute) : nil
  value.to_s
end