From: Shashank Date Date: 2002-09-20T22:02:43+09:00 Subject: Re: [ANN] RubyInline 1.0.6 Released "Ryan Davis" wrote in message news:3B3EC5AD-CC71-11D6-8829-0003939161E2@zenspider.com... > > > Either: > + embed \n in a double quoted (or other form of interpreted) string. Yes, that was a natural extension of my earlier attempt and I tried that. > + just have a multi line string > + use the heredoc style string as above, but w/ a variable above the > inline call... That worked too ! Thanks... > > I got this message: > > > > C:\ruby\RubyInline-1.0.6>ruby -v example.rb > > ruby 1.7.2 (2002-07-02) [i386-mswin32] > > RubyInline 1.0.6 > > c:/ruby/lib/ruby/site_ruby/inline.rb:30:in `inline': undefined method > > `+' > > for nil (NoMethodError) > > from example.rb:16:in `fastfact' > > from example.rb:36 > > from example.rb:36:in `each' > > from example.rb:36 > > Define INLINEDIR or HOME in your environment. Got it ...now it is working. > Better yet, get cygwin and run in a POSIX environment. I can definitely do that at home ... but I do not have that option at work. > Windows does too many things on too many platforms and I own NONE of them to test on. I agree ... no problem. Again, thanks for coming up this neat utility. -- shanko