package io.github.serpro69.kfaker.humor

Classes

Name Description
class Faker

Typealias for the HumorFaker

class HumorFaker: Any

Provides access to fake data generators within the Humor domain.

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

Subpackages

Name Description
package io.github.serpro69.kfaker.humor.provider

Typealiases

Name Description
typealias Faker = HumorFaker

Typealias for the HumorFaker

Methods

faker

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

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

Parameters

Name Description
block: Builder.()->Unit

ReturnValue

Name Description
HumorFaker