Sha256: deb82ed4ce2b66bb5c41c17ccde4d261331f6e3ab4f4a66fb30a609ebc27d097

Contents?: true

Size: 297 Bytes

Versions: 9

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

require_relative 'lorem'

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

9 entries across 9 versions & 1 rubygems

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