Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.03 KB

README.md

File metadata and controls

68 lines (45 loc) · 1.03 KB

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.