Method: FFaker::HTMLIpsum#a
- Defined in:
- lib/ffaker/html_ipsum.rb
#a(word_count = 2) ⇒ Object
10 11 12 |
# File 'lib/ffaker/html_ipsum.rb', line 10 def a(word_count = 2) "<a href=\"##{word}\" title=\"#{words(word_count).capitalize!}\">#{words(word_count).capitalize!}</a>" end |