lib/flesch_kincaid/result.rb
# Additional notes to describe the score
#
# Returns {String}
Additional notes to describe the score
Returns {String}
Additional notes to describe the score Returns { String }
def notes
      case score
      when 90..100
        "Very easy to read. Easily understood by an average 11-year-old student."
      when 80..90
        "Easy to read. Conversational English for consumers."
      when 70..80
        "Fairly easy to read."
      when 60..70
        "Plain English. Easily understood by 13-15-year-old students."
      when 50..60
        "Fairly difficult to read."
      when 30..50
        "Difficult to read."
      when 1..30
        "Very difficult to read. Best understood by university graduates."
      else
        "No score available"
      end
    end
def notes case score when 90 .. 100 "Very easy to read. Easily understood by an average 11-year-old student." when 80 .. 90 "Easy to read. Conversational English for consumers." when 70 .. 80 "Fairly easy to read." when 60 .. 70 "Plain English. Easily understood by 13-15-year-old students." when 50 .. 60 "Fairly difficult to read." when 30 .. 50 "Difficult to read." when 1 .. 30 "Very difficult to read. Best understood by university graduates." else "No score available" end end
Additional notes to describe the score
Returns {String}
Additional notes to describe the score Returns { String }