MontyIpsum
MontyIpsum gives you different types of Ipsum text with the flavour of Monty Python!
Installation
Add this line to your application's Gemfile:
gem 'monty_ipsum'
And then execute:
$ bundle
Or install it yourself as:
$ gem install monty_ipsum
Usage
ipsum
Call the module and request the ipsum
method. This will return a random Ipsum element in the set of quotes.
> MontyIpsum.ipsum
=> "And now, for something completely different."
header
By requesting the header method, the module will return proper Ipsum for a section title or header.
> MontyIpsum.header
=> "And so on, and so on, and so on."
paragraph
Will return medium to long sentences of Ipsum. Recieves a Hash with a :count
key. The returned paragraph will be a concatenation of :count
different Ipsums.
Todo
- Add more quotes
- Build category system following something like:
- ~~Short One-liners (for header elements)~~
- ~~Long One-liners (for paragraph openers and/or quote elements)~~
- Short Two-people Dialogs
- ~~Long Monologs for paragraphs content (Malcom Peter Brain Telescope Adrian Umbrella....)~~
- Names for Quote/Recomendation Sections
Contributing
- Fork it ( https://github.com/[my-github-username]/monty_ipsum/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