Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Hello is a Ruby interface to a collection of the word “hello” in many languages and dialects.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 data
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 hello.gemspec
README.textile

Hello

Hello is a Ruby interface to a collection of the word “hello” in many languages and dialects.

I wrote it for Flickr-style messages after users sign in to a web application:

>> Hello.random
=> "Wushiwushi"

By default, the word you get is time-neutral and religious-neutral. It is intended to be directed at one person of any gender or any age. The “hello” may be formal or informal.

Expand the list of "hello"s by gender:

Hello.random(:gender => :male)
Hello.random(:gender => :female)

Expand the list of "hello"s by time of day:

Hello.random(:time => :morning)
Hello.random(:time => :afternoon)
Hello.random(:time => :evening)

Or combine them:

Hello.random(:time => :morning, :gender => :female)

Adjustments to the list are… welcome.

@Croaky

Something went wrong with that request. Please try again.