added postfix/suffix example to the README
This commit is contained in:
parent
85d12db998
commit
9883c61b9f
|
@ -31,6 +31,10 @@ puts QuestionGenerator.generate
|
|||
# You can also specify the locale, if you want to
|
||||
puts QuestionGenerator.generate locale: :de
|
||||
# => "Was war das letzte, das du gegessen hast?"
|
||||
|
||||
# You can also specify an own prefix or suffix:
|
||||
puts QuestionGenerator.generate locale: :fr, prefix: '[FR] ', suffix: ' ?'
|
||||
# => "[FR] Quelle est la personne la plus célèbre que vous avez rencontrée ?"
|
||||
```
|
||||
|
||||
## How it works
|
||||
|
|
Loading…
Reference in New Issue