It would be nice if there was a “warnings.rb” file in the standard
distribution that contained:
$VERBOSE = true
…so you could say
require ‘warnings’
in a script, which, IMHO, reads a little better than “$VERBOSE = true”
What do you think?
Jason Creighton
Jason Creighton wrote:
It would be nice if there was a “warnings.rb” file in the standard
distribution that contained:
$VERBOSE = true
…so you could say
require ‘warnings’
in a script, which, IMHO, reads a little better than “$VERBOSE = true”
What do you think?
Makes sense. Or it could be ‘ant.rb’ instead of ‘warnings.rb’ so that
you could say
$ ruby -rant -e ‘p Math.cos 0’
-e:1: warning: parenthesize argument(s) for future version
1.0
Oh! Neat idea! We could also have ‘ave.rb’ as an alias. 
Jason Creighton
···
On Sat, 21 Feb 2004 09:31:11 +0900, Joel VanderWerf vjoel@PATH.Berkeley.EDU wrote:
Jason Creighton wrote:
It would be nice if there was a “warnings.rb” file in the standard
distribution that contained:
$VERBOSE = true
…so you could say
require ‘warnings’
in a script, which, IMHO, reads a little better than “$VERBOSE = true”
What do you think?
Makes sense. Or it could be ‘ant.rb’ instead of ‘warnings.rb’ so that
you could say
$ ruby -rant -e ‘p Math.cos 0’
-e:1: warning: parenthesize argument(s) for future version
1.0
David A. Black wrote:
…
…
$ ruby -rant -e ‘p Math.cos 0’
-e:1: warning: parenthesize argument(s) for future version
1.0
Oh! Neat idea! We could also have ‘ave.rb’ as an alias. 
And ‘emonstrate.rb’ 
eproach.rb, eprimand.rb, ebuke.rb, eprove.rb, eject.rb, idicule.rb,
oast.rb, efuse.rb, epudiate.rb, eprobate.rb … the horror, the horror!
···
On Mon, 23 Feb 2004, Jason Creighton wrote: