lib/glossarist/ref.rb
# Unstructured (plain text) reference.
# @return [String]
Unstructured (plain text) reference.
Unstructured ( plain text ) reference .
def ref_to_h
      if structured?
        { "source" => source, "id" => id, "version" => version }.compact
      else
        text
      end
    end
def ref_to_h if structured? { "source" => source , "id" => id , "version" => version } . compact else text end end
Unstructured (plain text) reference.
Unstructured ( plain text ) reference .
None
String