作者:美女牙医--妙菡众 | 来源:互联网 | 2023-06-06 12:05
Imusingruby1.8.7.IcouldhaveswornthatIvewrittenmyfunctionsatthebottomofmyscriptb
I'm using ruby 1.8.7. I could have sworn that I've written my functions at the bottom of my script before and it worked fine.
我正在使用ruby 1.8.7。我本来可以发誓说我之前已经在我的脚本底部编写了我的函数,并且工作正常。
Do I have to put them at the top? It seems to be the only way they work now. Not a big deal. I just prefer to have them at the bottom so I figured I'd ask.
我必须把它们放在顶部吗?这似乎是他们现在工作的唯一方式。没什么大不了的。我只是想让它们在底部,所以我想我会问。
2 个解决方案