Breizhipsum
Génération de faux texte avec des expressions bretonnes.
TODO
- Write specs
Installation
Add this line to your application's Gemfile:
gem 'breizhipsum'
And then execute:
$ bundle
Or install it yourself as:
$ gem install breizhipsum
Usage
From ruby
Require gem with require 'breizhipsum'
.
text = Breizhipsum::Work.new({
:paragraphs => 2, # default to 5
:format => :long, # default to :medium
:html => true # default to false
}).generate
From CLI
Lauch breizhipsum
in your terminal.
Use breizhipsum help generate
for help.
Contributing
- Fork it ( https://github.com/angelodlfrtr/breizhipsum/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request