Sha256: a0d394ccdc8468cb09b852b8773885ea2b0fc4fc7b3ff034e305d298b064be30

Contents?: true

Size: 306 Bytes

Versions: 6

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true

module FFaker
  # thanks to http://hipsteripsum.me
  module HipsterIpsum
    include Lorem

    extend ModuleUtils
    extend self

    def word
      fetch_sample(HIPSTER_WORDS)
    end

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

Version data entries

6 entries across 6 versions & 1 rubygems

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