M
Michael Gebhart
Hi,
currently I am doing my first steps with ruby. It's really great, but
sometimes I'm doing some very stupid mistakes I only realize this, when
running the program and starting the function, where I have done the
mistake. Is there any possibility to check the code before running it?
Because if I do not run the function, I'll never see, that there is a
error, which is followed by a crash. The problem is, that
ruby doesn't know the types, the variables have. When I do:
@variable.function
ruby does not know, if the method "function" is avaibable or not. But
nevertheless, is it possible to find out some errors without running the
program and starting the function?
Greetings
Michael
currently I am doing my first steps with ruby. It's really great, but
sometimes I'm doing some very stupid mistakes I only realize this, when
running the program and starting the function, where I have done the
mistake. Is there any possibility to check the code before running it?
Because if I do not run the function, I'll never see, that there is a
error, which is followed by a crash. The problem is, that
ruby doesn't know the types, the variables have. When I do:
@variable.function
ruby does not know, if the method "function" is avaibable or not. But
nevertheless, is it possible to find out some errors without running the
program and starting the function?
Greetings
Michael