Module: LoremIpsumAmet::ViewHelpers
- Defined in:
- lib/lorem_ipsum_amet/rails/view_helpers.rb
Instance Method Summary collapse
Instance Method Details
#lorem_ipsum(cp = nil, options = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/lorem_ipsum_amet/rails/view_helpers.rb', line 4 def lorem_ipsum(cp = nil, = {}) = { html: true }.merge() LoremIpsum.lorem_ipsum(cp, ) end |
#placeholder_image(width, height = width) ⇒ Object
10 11 12 |
# File 'lib/lorem_ipsum_amet/rails/view_helpers.rb', line 10 def placeholder_image(width, height = width) LoremIpsum.placeholder_image(width, height) end |