Skip to content

AutoUncle/chucknorris

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chucknorris

Gem Version Build Status

A Ruby gem which displays random chuck norris jokes

Installation

gem install chucknorris

Usage Examples

To get a random joke

require 'chucknorris'

Print out a random joke

ChuckNorris.random

To get a collection of jokes you have to initialize an object

@chuck = ChuckNorris.new
@chuck.jokes
@chuck.personal("John","Doe")

Supported Ruby Versions

This library aims to support and is tested against the following Ruby versions:

  • Ruby 2.0.0
  • Ruby 2.1.0

If something doesn't work on one of these versions, it's a bug.

This library may inadvertently work (or seem to work) on other Ruby versions, however support will only be provided for the versions listed above.

Copyright

Copyright (c) 2014 Suraj Shirvankar See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%