GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vanruby/canada: Adds support for Canadian programming conventions to the Ruby language

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Gemfile
Gemfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
canada.gemspec
canada.gemspec
 
 
canada.png
canada.png
 
 

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

Product of Canada

This gem is a 100% Canadian product and sweetened with 100% Canadian maple syrup. We hack on open-source projects like this every other Tuesday at #VANRUBY. If you would like to join us, check out our meetup page for details.

About

Adds support for Canadian programming conventions to the Ruby language

Resources

Readme
MIT license
Activity
Custom properties

Stars

250 stars

Watchers

14 watching

Forks

13 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.