module Sentencify::SentencifyHelper
Public Instance Methods
sentencize_images(to_sentencify = [], options = {})
click to toggle source
# File lib/sentencify/sentencify_helper.rb, line 3 def sentencize_images(to_sentencify = [], options = {}) will_sentencized = to_sentencify.map { |o| image_tag(o.send(options[:on])) } raw(will_sentencized.sentencize(options.merge({ image: true }))) end