Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 92810
BY: Dan Rathbun (danzoid61)
DATE: 2010-02-23 17:21
SUBJECT: RE: no such file to load -- win32/eventlog

 

Aaron wrote:
<<
irb(main):004:1> $:.join ("\n")
>>

Try not to put space char between method names and their parameter list; strange errors can result.

The newline argument for Array.join is the string separator to use when concatenating the Array's elements (which are converted to String if they aren't already a String.) So instead of getting on big long String (the defualt separator is nil,) you get a list with each element on a new line.

irb might not output the result, like the standard console.

.. or in irb you might try
puts $:.join("\n")


Thread View

Thread Author Date
no such file to load -- win32/eventlogAaron Drever2010-02-23 16:41
      RE: no such file to load -- win32/eventlogAaron Drever2010-02-23 16:56
      RE: no such file to load -- win32/eventlogDan Rathbun2010-02-23 16:58
            RE: no such file to load -- win32/eventlogAaron Drever2010-02-23 17:02
                  RE: no such file to load -- win32/eventlogDan Rathbun2010-02-23 17:21
                        RE: no such file to load -- win32/eventlogDan Rathbun2010-02-23 17:34
      RE: no such file to load -- win32/eventlogDaniel Berger2010-02-23 17:04
            RE: no such file to load -- win32/eventlogAaron Drever2010-02-23 17:07

Post a followup to this message