Sha256: df2f922a62222393073c5d3f9a771614a851d6d221f2a17737d04bdfef3c5485

Contents?: true

Size: 295 Bytes

Versions: 5

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

require_relative 'lorem'

module FFaker
  module FreedomIpsum
    include Lorem

    extend ModuleUtils
    extend self

    def word
      fetch_sample(FREEDOM_WORDS)
    end

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

Version data entries

5 entries across 5 versions & 1 rubygems

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