Sha256: d7c3df13e9fc5479c13ac8fe6470b2d451e2516cb7fe1dcc3b3426852be4bd67

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

# encoding: utf-8

require 'ffakerer/lorem'

module Faker
  # Thanks to Snoop Dogg
  module DizzleIpsum
    extend Lorem

    extend ModuleUtils
    extend self

    def word
      DIZZLE_WORDS.rand
    end

    def words(num = 3)
      DIZZLE_WORDS.random_pick(num)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffakerer-1.0.2 lib/ffakerer/dizzle_ipsum.rb
ffakerer-1.0.1 lib/ffakerer/dizzle_ipsum.rb