Created
December 29, 2013 05:20
-
-
Save waugh/8167709 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):002:0> load "multicraft_api.rb" | |
=> true | |
irb(main):003:0> api = MulticraftApi.new('address','user','key') | |
=> #<MulticraftApi:0x00000002e0d8a8 @url="address", @user="user", @key="key"> | |
irb(main):004:0> api.findConnections | |
NoMethodError: undefined method `<' for nil:NilClass | |
from multicraft_api.rb:30:in `block in method_missing' | |
from multicraft_api.rb:24:in `each_index' | |
from multicraft_api.rb:24:in `method_missing' | |
from (irb):4 | |
from /home/jack/.rbenv/versions/1.9.2-p320/bin/irb:12:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment