ruby-dev summary 22625-22687

K

K.Sasada

Hi.
This is "ruby-dev summary" of last week: 22625-22687.


[ruby-dev:22642] optparse default options
Minero Aoki asked if the default definition of "--help" option of
OptionParser would be overspec. (This issue is still open.)

In this discussion, eban proposed that constant values such as
"VERSION", "RELEASE_DATE", "PLATFORM" in ruby/version.c should
be removed. This was done.

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/version.c.diff?r1=1.8&r2=1.9


[ruby-dev:22654] overflow when pack integers
Tanaka Akira threw a question about String#pack, about inconsistent behavior at
values boundary. See follows:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/22654

matz noticed this inconsistency, though the fix seemed not so easy.
Even if it is done by someone, he won't say complaint :)


[ruby-dev:22658] make install-doc
SHINAGAWA Norihide said that doing "make install-doc" consume
memory around 200MB - 300MB on OS/2. His working environment which has
192MB pyshical memory took 5 hours to carry out full build ruby.
eban agreed that ruby on OS/2 may have a memory leak.


[ruby-dev:22662] NODE_NEWLINE -> NEWILNE flag
NODE_NEWLINE was removed from current ruby interpreter.
(It has an impact to ruby's node user like me :)

NaHi reported some bugs because of this change.


- For previous issues, visit ruby-dev summary index:
http://i.loveruby.net/en/ruby-dev-summary.html


Regards,
 
M

Minero Aoki

Hi,

In mail "ruby-dev summary 22625-22687"
K.Sasada said:
[ruby-dev:22642] optparse default options
Minero Aoki asked if the default definition of "--help" option of
OptionParser would be overspec. (This issue is still open.)

My intent is not on "--help", but "--version".

~ % cat test.rb
require 'optparse'
parser = OptionParser.new
parser.parse!

~ % ruby-1.8.1 test.rb --version
test 1.8.1
~ %

This "1.8.1" is derived from "VERSION" constant.
OptionParser sees the definition of "--version",
next "Version", then "VERSION".


Regards,
Minero Aoki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top