Module: Sentencify::SentencifyHelper
- Defined in:
- lib/sentencify/sentencify_helper.rb
Instance Method Summary collapse
Instance Method Details
#sentencize_images(to_sentencify = [], options = {}) ⇒ Object
3 4 5 6 |
# File 'lib/sentencify/sentencify_helper.rb', line 3 def sentencize_images(to_sentencify = [], = {}) will_sentencized = to_sentencify.map { |o| image_tag(o.send([:on])) } raw(will_sentencized.sentencize(.merge({ image: true }))) end |