Sha256: 3e32bc5bd997838f3743d3a254ec2886943b50fcb7a093aceb49b8d2d5a147d2

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

module FFaker
  # Thanks to http://baconipsum.com/
  module BaconIpsum
    include Lorem

    extend ModuleUtils
    extend self

    def word
      fetch_sample(BACON_WORDS)
    end

    def words(num = 3)
      fetch_sample(BACON_WORDS, count: num)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffaker-2.23.0 lib/ffaker/bacon_ipsum.rb
ffaker-2.22.0 lib/ffaker/bacon_ipsum.rb
ffaker-2.21.0 lib/ffaker/bacon_ipsum.rb
ffaker-2.20.0 lib/ffaker/bacon_ipsum.rb
ffaker-2.19.0 lib/ffaker/bacon_ipsum.rb
ffaker-2.18.0 lib/ffaker/bacon_ipsum.rb