Fix require to include ./

This commit is contained in:
Jim Weirich
2014-01-13 15:16:46 -05:00
parent ad08a8de35
commit 0fb9b21a4e

View File

@@ -1,7 +1,7 @@
require File.expand_path(File.dirname(__FILE__) + '/neo') require File.expand_path(File.dirname(__FILE__) + '/neo')
# You need to write the triangle method in the file 'triangle.rb' # You need to write the triangle method in the file 'triangle.rb'
require 'triangle.rb' require './triangle.rb'
class AboutTriangleProject2 < Neo::Koan class AboutTriangleProject2 < Neo::Koan
# The first assignment did not talk about how to handle errors. # The first assignment did not talk about how to handle errors.
@@ -14,4 +14,3 @@ class AboutTriangleProject2 < Neo::Koan
# HINT: for tips, see http://stackoverflow.com/questions/3834203/ruby-koan-151-raising-exceptions # HINT: for tips, see http://stackoverflow.com/questions/3834203/ruby-koan-151-raising-exceptions
end end
end end