From 9883c61b9f8b16ed72eb0f1dff84280c1c055e51 Mon Sep 17 00:00:00 2001 From: Georg G Date: Tue, 9 Jun 2015 19:12:12 +0200 Subject: [PATCH] added postfix/suffix example to the README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f09d388..42e9ad1 100644 --- a/README.md +++ b/README.md @@ -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