Hi. I???m looking to get logstash running on my local ruby install. I???m using rvm and jruby. For some reason, whenever I launch logstash, i get the error ???LoadError: no such file to load -- bundler???
if you have a very large project, you usually have some sort of service classes. Something that exposes functionality like "addCustomer", "addProduct", etc.
In Java, you may want to add a product as part of another functional part of the system. So you inject an instantiated instance of that service into the one you want the functionality in. Then you can use it.
Hi all. I just wanted to come here to say how friendly this community is. I was asking some questions here one day and had an outpouring of help. I was hanging around in ##java a bit and that place reaks worse than the language. The most hostile unpleasant channel I've ever been in.
hello. I've been googling for a ruby operators sheet and i still couldn't find what the => operator does
Mon_Ouie, I'm trying to write code that will be backwards compatible. Originally it accepts a string, but now I want to supply it an array. It would be cool if I could do an each on just a single string and it would return just that one string.
jhass, java for one with many enterprise ready frameworks like hibernate and spring, and python is a fav of mine due to it being installed by default on practically every linux distro.
so i know that arrays in ruby have an interator of sorts, .each, but does it have something like itertools? Where I can say array.next .next over and over and keep rotating over the array?
it's sort of like a fallback kind of thing. If it doesn't work, try the next one. If not that one, try the next. Keep going