Re: rb_load_file crashes when there no bracket is provided
- From: Saravanan Sar <saravanan@xxxxxxxxxxxx>
- Date: Tue, 17 Jul 2007 00:04:27 +0900
when rb_gv_set("VERBOSE", Qnil)is executed, it works fine. Basically
this will suppress all the warnings. This is equivalent to "ruby -w"
Saravanan Sar wrote:
Phil Meier wrote:
But when i changed the lineWhy do you need to remove brackets?
i = Category(is('CatB')) to
i = Category is 'CatB' #removing the brackets
This is basically a set of rules that our client will define. I am
writing DSL so that it will be easy for our client. When i execute the
same using ruby.exe it works but with bracket warning. I think
rb_load_file is crashing because of this warning message.
Please help me
Regards,
Saravanan A
--
Posted via http://www.ruby-forum.com/.
.
- References:
- rb_load_file crashes when there no bracket is provided
- From: Saravanan Sar
- Re: rb_load_file crashes when there no bracket is provided
- From: Phil Meier
- Re: rb_load_file crashes when there no bracket is provided
- From: Saravanan Sar
- rb_load_file crashes when there no bracket is provided
- Prev by Date: Re: clean nice way (hash)
- Next by Date: Re: The Pebble in the Ruby Shoe
- Previous by thread: Re: rb_load_file crashes when there no bracket is provided
- Next by thread: The Pebble in the Ruby Shoe
- Index(es):
Relevant Pages
|