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 |
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
Parameters
| Name | Description |
|---|---|
block: Builder.()->Unit
|
ReturnValue
| Name | Description |
|---|---|
HumorFaker
|
Applies the block function to HumorFaker.Builder and returns as an instance of HumorFaker from that builder.