Method: FFaker::HTMLIpsum#dl
- Defined in:
- lib/ffaker/html_ipsum.rb
#dl(definitions = 2) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/ffaker/html_ipsum.rb', line 25 def dl(definitions = 2) content_tag_for :dl do |dl| definitions.times do dl << content_tag_for(:dt, words(1).capitalize!) dl << content_tag_for(:dd, paragraph(2)) end end end |