Sha256: c349238baf6f65b29f955a4e98b285a17f44d926fa7f14209031a0feb081dff8
Contents?: true
Size: 316 Bytes
Versions: 14
Compression:
Stored size: 316 Bytes
Contents
class Forgery::Email < Forgery def self.address Forgery::Internet.email_address end def self.subject(options={}) Forgery::LoremIpsum.title(options) end def self.body(options={}) quantity = options[:quantity] || (1 + rand(10)) Forgery::LoremIpsum.paragraphs(quantity, options) end end
Version data entries
14 entries across 14 versions & 1 rubygems