Sha256: 107d876b7740f0499f50fd7fe9c8bf5c808506da5a37b8a0bd3ca920aab794dc

Contents?: true

Size: 318 Bytes

Versions: 10

Compression:

Stored size: 318 Bytes

Contents

# encoding: utf-8

require 'ffaker/lorem'

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

10 entries across 10 versions & 1 rubygems

Version Path
ffaker-2.11.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.10.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.9.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.8.1 lib/ffaker/hipster_ipsum.rb
ffaker-2.8.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.7.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.6.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.5.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.4.0 lib/ffaker/hipster_ipsum.rb
ffaker-2.3.0 lib/ffaker/hipster_ipsum.rb