package io.github.serpro69.kfaker.creatures

Classes

Name Description
class Faker

Typealias for the CreaturesFaker

class CreaturesFaker: Any

Provides access to fake data generators within the Creature domain.

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

Subpackages

Typealiases

Name Description
typealias Faker = CreaturesFaker

Typealias for the CreaturesFaker

Methods

faker

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

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

Parameters

Name Description
block: Builder.()->Unit

ReturnValue

Name Description
CreaturesFaker