Sha256: 4d1c6e98909d89edc087d9172f76d09a2d0fb6dbd8c58a4aebc022736da3b276
Contents?: true
Size: 163 Bytes
Versions: 1
Compression:
Stored size: 163 Bytes
Contents
module RoFaker class << self def post(attrs={}) attrs[:title] ||= sentence attrs[:content] ||= paras Post.create(attrs) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rrjj-0.0.1 | lib/rrjj/ro_faker.rb |