D
David Garamond
With -w (verbose mode), Ruby can print compilation warnings, like
uninitialized instance variables.
$ ruby -we 'p @a'
-e:1: warning: instance variable @a not initialized
Is there a mode (ala Perl's strict or something similar) that makes Ruby
raises errors for compilation warnings?
uninitialized instance variables.
$ ruby -we 'p @a'
-e:1: warning: instance variable @a not initialized
Is there a mode (ala Perl's strict or something similar) that makes Ruby
raises errors for compilation warnings?