Sha256: f4c607a111fa11eecce486c8c1ffbcc8cedb9202195b7c7871b875e0de002322

Contents?: true

Size: 423 Bytes

Versions: 11

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module FFaker
  # Inspirations:
  # https://pl.wikipedia.org/wiki/Kategoria:Dyscypliny_sportowe
  # https://pl.wikipedia.org/wiki/Igrzyska_olimpijskie
  module SportPL
    extend ModuleUtils
    extend self

    ALL = SUMMER + WINTER

    def name
      fetch_sample(ALL)
    end

    def summer
      fetch_sample(SUMMER)
    end

    def winter
      fetch_sample(WINTER)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ffaker-2.23.0 lib/ffaker/sport_pl.rb
ffaker-2.22.0 lib/ffaker/sport_pl.rb
ffaker-2.21.0 lib/ffaker/sport_pl.rb
ffaker-2.20.0 lib/ffaker/sport_pl.rb
ffaker-2.19.0 lib/ffaker/sport_pl.rb
ffaker-2.18.0 lib/ffaker/sport_pl.rb
ffaker-2.17.0 lib/ffaker/sport_pl.rb
ffaker-2.16.0 lib/ffaker/sport_pl.rb
ffaker-2.15.0 lib/ffaker/sport_pl.rb
ffaker-2.14.0 lib/ffaker/sport_pl.rb
ffaker-2.13.0 lib/ffaker/sport_pl.rb