3 ms·
That's my biggest problem with Ruby, where you can create a function and suddenly poof, you can use it anywhere. Like I'm writing tests and want to create a uti
by jackschultz 7y ago
That's my biggest problem with Ruby, where you can create a function and suddenly poof, you can use it anywhere. Like I'm writing tests and want to create a util function, so I put it in a different file and I can use that anywhere without having to be explicit with where it came from and was defined. Glad it's not just me but the IDEs as well.
- sosodev 7y agoThat’s not a Ruby thing. That’s a Rails thing. In Ruby you still have to require your code like every other language.