DEV Community

Discussion on: Silly Repos

Collapse
 
maestromac profile image
Mac Siri

how about this eh?

vanruby / canada

Adds support for Canadian programming conventions to the Ruby language

Canada

Canadian flag

It's well known that we have different conventions for programming in Canada. This gem attempts to make life easier for Canadian Rubyists by integrating these conventions into the Ruby language:

>> require 'canada'
=> true
>> [].empty_eh
=> true
>> [1,2,3].empty_eh
=> false
>> [].respond_to_eh?(:empty_eh?)
=> true
>> aboot Object.new
=> "#<Object:0x007f802b8b92c0>"
>> raise "something went wrong..."
RuntimeError: I'm sorry, but something went wrong...
  from (irb):6
  from /Users/godfrey/.rvm/rubies/ruby-2.0.0-p195/bin/irb:16:in `<main>'

Cool, eh?

Production Ready™, eh?

Yes. Proof: Build Status

What aboot performance?

We hand-tuned the gem's performance to keep it in line with everything else in Canada.

Installation

Add this line to your application's Gemfile:

gem 'canada'

And then execute:

$ bundle

Or install it yourself as:

$ gem install canada

Note: This gem requires Ruby 2.0.0 or higher.

Contributing

  1. Fork it
  2. Create…
Collapse
 
david_j_eddy profile image
David J Eddy

This is great dontcha know.