package io.github.serpro69.kfaker.travel

Classes

Name Description
class Faker

Typealias for the TravelFaker

class TravelFaker: Any

Provides access to fake data generators within the Travel domain.

Each category (generator) from this TravelFaker is represented by a property that (usually) has the same name as the .yml dictionary file.

Subpackages

Typealiases

Name Description
typealias Faker = TravelFaker

Typealias for the TravelFaker

Methods

faker

fun faker(block: Builder.()->Unit): TravelFaker

Applies the block function to TravelFaker.Builder and returns as an instance of TravelFaker from that builder.

Parameters

Name Description
block: Builder.()->Unit

ReturnValue

Name Description
TravelFaker