Sha256: 7ae8912e4e9ecdcadb95225fffc622a67840da027e1f1eb6caba2964ad1bd3e8

Contents?: true

Size: 302 Bytes

Versions: 9

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  # 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

9 entries across 9 versions & 1 rubygems

Version Path
ffakerTW-1.8.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.7.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.6.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.5.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.4.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.3.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.2.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-1.1.0 lib/ffakerTW/bacon_ipsum.rb
ffakerTW-0.1.0 lib/ffakerTW/bacon_ipsum.rb