Module: FFaker::SportPL

Extended by:
ModuleUtils, SportPL
Included in:
SportPL
Defined in:
lib/ffaker/sport_pl.rb

Overview

Constant Summary collapse

ALL =
SUMMER + WINTER

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#nameObject



13
14
15
# File 'lib/ffaker/sport_pl.rb', line 13

def name
  fetch_sample(ALL)
end

#summerObject



17
18
19
# File 'lib/ffaker/sport_pl.rb', line 17

def summer
  fetch_sample(SUMMER)
end

#winterObject



21
22
23
# File 'lib/ffaker/sport_pl.rb', line 21

def winter
  fetch_sample(WINTER)
end