Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Add a little class to your ruby environment
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rvmrc
Gemfile
README.textile
Rakefile
sherry.gemspec

README.textile

Sherry?

The proper response to this is always “Rather.” Therefore, this gem, when loaded, attaches the method sherry? and alfred? to all objects. sherry? will always return the string “Rather.” alfred? will always return the string “Yes, m’lord?”

Install

gem install sherry

or in your Gemfile:

gem 'sherry'

Usage

irb> require 'sherry'
=> true
irb> Object.sherry?
=> "Rather."
irb> Object.alfred?
=> "Yes, m'lord?"

Acknowledgements

Written by: Bradley Grzesiak and Devin Walters of Bendyworks

Inspired by a night after RailsConf 2011 with:

Something went wrong with that request. Please try again.