ib-ruby/ib-ruby — pull request #46 by rab1234 (2012-08-05 18:00:37+00:00)
Title: Modify symbols.rb

You can pretty much ignore the long comment I made about my code earlier today. I think I was concerned about problems that could not be solved. This code detects a nil contract[symbol], raises a RuntimeError, and tells the user that the error is probably caused by a missing contract definition.

The code also includes some rspec tests to test whether a RuntimeError is raised when an invalid (i.e., undefined) symbol is used.