Fix require to include ./
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user