Flowdock
method

to_sentence

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: OutputSafetyHelper
to_sentence(array, options = {}) public

Converts the array to a comma-separated sentence where the last element is joined by the connector word. This is the html_safe-aware version of ActiveSupport’s Array#to_sentence

Show source
Register or log in to add new notes.