roosterchicken / beemovie-rb

Bee Movie but in a Ruby Gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beemovie v0.0.1

Bee Movie Gem for Ruby

Installation

Add this line to your application's Gemfile:

gem 'beemovie'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install beemovie

Usage

Beemovie::Barry.sentence()

Prints a sentence from the Bee Movie.

require 'beemovie'
# The Parameter can be any number
sentence = Beemovie::Barry.sentence(1)
puts sentence

Beemovie::Barry.script()

Prints the enite Bee Movie script

require 'beemovie'
script = Beemovie::Barry.script
puts script

Beemovie::Barry.word()

Prints words from the Bee Movie.

require 'beemovie'
# The Parameter can be any number
word = Beemovie::Barry.word(1)
puts word

Beemovie::Barry.paragraph()

Prints a paragraph from the Bee Movie.

require 'beemovie'
# The Parameter can be any number
paragraph = Beemovie::Barry.paragraph(1)
puts paragraph

License

This gem is available as open source under the terms of the MIT License.

About

Bee Movie but in a Ruby Gem

License:MIT License


Languages

Language:Ruby 99.8%Language:Shell 0.2%