G
Greg Lorriman
ruby 1.8.2 (2004-12-25) [i386-mswin32]
Hi folks,
I'm stumped by a syntax error. The error itself isn't telling me enough, I
think.
I'm attempting to run a unit test and here is the error message that results
:
"
d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__':
../a
ppClasses.rb:153: syntax error (SyntaxError)
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`re
quire'
from D:/Data/Greg/dev/ruby/hg project/tc_appClasses.rb:1
"
I've looked at custom_require.rb and my newbie eyes can't see anything
amiss.
appClasses and tc_appClasses are my files. The syntax error is on the last
line of this in appClasses.rb :
class CostsToDatabase
def processCostsData(filepath,databasePath,*definitionFiles)
definition=Definition.new
definitionFiles.each do |df|
definition.setDefinitionFromFile!(df)
end
end
end # <syntax error pointing to here
I just can't see the trouble, although I'm pretty certain its related to the
test unit stuff.
Both my files are located here http://www.lorriman.com/deleteme/ if any kind
person needs to look at the whole code.
Thanks for any help,
Greg
Hi folks,
I'm stumped by a syntax error. The error itself isn't telling me enough, I
think.
I'm attempting to run a unit test and here is the error message that results
:
"
d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__':
../a
ppClasses.rb:153: syntax error (SyntaxError)
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`re
quire'
from D:/Data/Greg/dev/ruby/hg project/tc_appClasses.rb:1
"
I've looked at custom_require.rb and my newbie eyes can't see anything
amiss.
appClasses and tc_appClasses are my files. The syntax error is on the last
line of this in appClasses.rb :
class CostsToDatabase
def processCostsData(filepath,databasePath,*definitionFiles)
definition=Definition.new
definitionFiles.each do |df|
definition.setDefinitionFromFile!(df)
end
end
end # <syntax error pointing to here
I just can't see the trouble, although I'm pretty certain its related to the
test unit stuff.
Both my files are located here http://www.lorriman.com/deleteme/ if any kind
person needs to look at the whole code.
Thanks for any help,
Greg