0.0
No commit activity in last 3 years
No release in over 3 years
An Interface to Quijotipsum.com written in Ruby. It provides an API and a command line command.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0
 Project Readme

An Interface to Quijotipsum.com written in Ruby

It provides an API and a terminal command.

Installation

$ gem install quijotipsum_api
$ quijotipsum paragraphs 2

Usage

Requiring quijotipsum_api will add the next methods to any Fixnum:

  • QuijotipsumAPI#quijotipsum_words -> "En un lugar de la Mancha, de cuyo nombre no quiero acordarme"
  • QuijotipsumAPI#quijotipsum_paragraphs -> ["En un lugar de la Mancha, de cuyo nombre no quiero acordarme...", ...]
    require 'rubygems'
    require 'quijotipsum'

    puts 6.quijotipsum_words
    puts 2.quijotipsum_paragraphs