Skip to content

roosterchicken/beemovie-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beemovie-rs

Bee Movie crate.

Usage

Put this in your Cargo.toml

beemovie = '1.0.1'

Documentation

sentence()

This function returns a sentence or two from the bee movie.

extern crate beemovie;
fn main() {
    println!("Sentence: {}", beemovie::sentence(1));
}

script()

This function returns the entire Bee Movie script.

extern crate beemovie;
fn main() {
    println!("{}", beemovie::script());
}

word()

This function returns a word from the Bee Movie.

extern crate beemovie;
fn main() {
    println!("Word: {}", beemovie::word(1));
}

paragraph()

This function returns a paragraph from the Bee Movie.

extern crate beemovie;
fn main() {
    println!("Paragraph: {}", beemovie::paragraph(1));
}

About

Bee Movie crate

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages