I am a newbie looking at some code that expects these to variables to
match.

They do not match while running under the NB debugger.

$0           = C:\Program Files\NetBeans 6.5.1\ruby2\jruby-1.1.4\bin
\rdebug-ide
_FILE_   = C:/cw/iptc/iptc.rb


How can I write code that will allow for this code to behave properly
- even when running in a debugger or jirb?

Or is the conditional check that important to begin with?

Regards,

CW

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to