Project

cicero

0.0
No commit activity in last 3 years
No release in over 3 years
A lorem Ipsum generator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

Cicero

A simple yet powerfull Lorem Ipsum Generator for Ruby

Installation

For stand alone ruby programs

  require 'Cicero'

Ruby on Rails 3.0 and up

  ## Gemfile 
  gem 'Cicero'

How to use it

With Cicero you can generate any number of words, sentences, and even paragraphs

Words

  ## To generate a single word 
  Cicero.word

  ## To generate a multiple words
  Cicero.words(3)

Sentences

  ## To generate a single sentence 
  Cicero.sentence

  ## To generate a multiple sentences
  Cicero.sentences(3)

Paragraphs

  ## To generate a single paragraph 
  Cicero.paragraph

  ## To generate a multiple paragraphs
  Cicero.paragraphs(3)

Languages

You can also change the default languages, by default is uses Latin

Suported Languages

English, Spanish, French, Italian, Latin and Portuguese

Custom Languages

  names = "Eduard Roger Jorge Gerard Ingacio Edda Alex Andrea"
  Cicero.locale = names
  ## Cicero.word will now return a name within the name language

Contribute

We will be more than glad if you decide to contribute The Cicero Project