[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02672] Re: irb for 1.5.x

From: Andrew Hunt <andy@...>
Date: 2000-05-10 03:02:08 UTC
List: ruby-talk #2672
> In message "[ruby-talk:02617] irb for 1.5.x"
>     on 00/05/02, Andrew Hunt <Andy@Toolshed.Com> writes:
> 
> |1) First problem I get is ruby-token.rb:260:in `def_token': undefined
> |   method `intern' for :TkCLASS:Symbol (NameError)
  token_n = token_n.id2name unless token_n.kind_of?(String)

Thanks, that fixes the first problem.  However, irb still exits if
you make a syntax error.  For instance:

irb(main):001:0> require 'noSuchFile'
(irb):1:in `require': No such file to load -- noSuchFile (LoadError)
        from (irb):1:in `irb_binding'
        from /usr/local/lib/ruby/1.5/irb/workspace-binding.rb:55:in `irb_binding'
        from /usr/local/lib/ruby/1.5/irb/workspace-binding.rb:55

Since I am a lousy typist, this presents a bit of a problem! (It worked 
fine in 1.4.x, BTW).

Thanks...

/\ndy



In This Thread