Flowdock
method

to_sentence

Importance_1
v6.0.0 - Show latest stable - 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.