Sha256: 8e4612233ba1b1ea0ecdadcbfc7fc7f0ca87f436630500219c91cec7df1d7841

Contents?: true

Size: 308 Bytes

Versions: 9

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

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

9 entries across 9 versions & 1 rubygems

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