Dingo
Dingo generates copy. Because you're a real aussie and are too lazy to write your own.
It works by generating an infinite sequences of Australian flavoured copy.
API
dingo = Dingo.new
dingo.words.take(4)
=> ["mateship", "Woolies", "marbo", "sicky"]
dingo.sentences.take(1)
=> ["Acca dacca wranga red hot go herald sun mullet qantas."]
dingo.paragraphs.take(1)
=> ["Underdog roy & hg sam newman slow internet sunburn 52 beers in one flight.
Little people riding horses richie benaud true blue battered sav doll bludger qantas.
Grand final the 7 30 report liking soccer when we're in the world cup shaun micaleff bruce mcavaney cobber.
Don burke's beard one hand one bounce woolies burke & wills reversing the ute one handed roy & hg."]
dingo.people.take(4)
=> ["eddie mcguire", "bruce mcavaney", "thorpey", "shaun micaleff", "tony"]
dingo.emails.take(2)
=> ["[email protected]", "[email protected]"]
all of the above can also be called as class methods.
Dingo.words.take(1)
Dingo.sentences.take(1)
Dingo.paragraphs.take(1)
Dingo.people.take(1)
Dingo.emails.take(1)
Configurables
Dingo.new(
random: 12,
source_words: ["Bush fires", "Resenting the monarchy"],
source_people: ["Matey Cobber-Sheep", "Ragey McSportsdad"],
sentence_length: 7,
paragraph_length: 3
)