Skip to content
forked from vanruby/canada

Adds support for Canadian programming conventions to the Ruby language

License

Notifications You must be signed in to change notification settings

derekyau/canada

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>"

Cool, eh?

Production Ready™, eh?

Yes.

What about performacne?

We tuned the gem's performacne so that it's inline 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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Adds support for Canadian programming conventions to the Ruby language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published