# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=924

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 925

---

## [WEBrick $B$N%U%!%s%7!\<%$%s%G%C%/%9$N%(%9%1!\<%WO3$l(B](https://www.ruby-forum.com/t/webrick-b-n-u-s-7-s-g-c-9-n-9-1-wo3-l-b/157660)

<div class="topic-metadata">

**Author:** [@KISHIMOTOS\_Makoto](https://www.ruby-forum.com/u/KISHIMOTOS_Makoto)\
**Replies:** 1\
**Last updated:** [January 14, 2009, 7:54am UTC](https://www.ruby-forum.com/t/webrick-b-n-u-s-7-s-g-c-9-n-9-1-wo3-l-b/157660 "2009-01-14T07:54:15Z")

</div>

e$B$-$7$b$H$G$9e(B e$B$H$+$N$h$&$JL\>A0$N%U%!%$%k$,$"$k$HI=\<($,Jx$l$^$9e(B — webrick/httpservlet/filehandler.rb.ORG 2009-01-14 15:25:52.000000000 +0900 +++ webrick/httpservlet/filehandler.rb 2009-01-14 15:26:25.00…

---

## [Code Review: GenericMethodsAndOverloads](https://www.ruby-forum.com/t/code-review-genericmethodsandoverloads/157544)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [January 14, 2009, 7:32am UTC](https://www.ruby-forum.com/t/code-review-genericmethodsandoverloads/157544 "2009-01-14T07:32:35Z")

</div>

tfpt review “/shelveset:GenericMethodsAndOverloads;REDMOND\\tomat” Implements generic methods parameters binding and explicit overload selection. Adds methods Method/UnboundMethod#of and Method/UnboundMethod#overloads…

---

## [Code Review: Indexers2](https://www.ruby-forum.com/t/code-review-indexers2/157654)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [January 14, 2009, 7:07am UTC](https://www.ruby-forum.com/t/code-review-indexers2/157654 "2009-01-14T07:07:24Z")

</div>

tfpt review “/shelveset:Indexers2;REDMOND\\tomat” Implements default indexer access: a call to \[\] and \[\]= on an instance of a CLR class marked by DefaultMember() attribute is translated to get\_ and set\_, respectively. …

---

## [Ruby/ManageSieve 0.4.0](https://www.ruby-forum.com/t/ruby-managesieve-0-4-0/157647)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 1:18am UTC](https://www.ruby-forum.com/t/ruby-managesieve-0-4-0/157647 "2009-01-14T01:18:14Z")

</div>

Hello. This a new release of Ruby/ManageSieve, adding TLS support. Ruby/ManageSieve is a pure-ruby library for the MANAGESIEVE protocol. It also includes the command-line \`\`sievectl’’ utility for managing Sieve scrip…

---

## [SVN and Git updated](https://www.ruby-forum.com/t/svn-and-git-updated/157643)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 12:37am UTC](https://www.ruby-forum.com/t/svn-and-git-updated/157643 "2009-01-14T00:37:50Z")

</div>

SVN and Git have been updated to the latest files. Just a reminder, I will stop updating SVN on Friday. The exciting addition this time is Generic method support and support for explicit overload selection. Here is th…

---

## [IronRuby 1.0 Roadmap](https://www.ruby-forum.com/t/ironruby-1-0-roadmap/157628)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 11:05pm UTC](https://www.ruby-forum.com/t/ironruby-1-0-roadmap/157628 "2009-01-13T23:05:45Z")

</div>

http://ironruby.net/Roadmap Here is a rough roadmap (aka, what’s left to do) before IronRuby 1.0. More information, especially for the libraries, is coming soon, along with links to tickets tracking these features, et…

---

## [Help with modules](https://www.ruby-forum.com/t/help-with-modules/157634)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 1\
**Last updated:** [January 13, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/help-with-modules/157634 "2009-01-13T22:55:56Z")

</div>

I can’t seem to find the answer to this but I know I’ve seen it somewhere. I am working with Ncurses, so I start all my files with require ‘rubygems’ require ‘Ncurses’ and then I have to type things like: Ncurses.i…

---

## [Getting info about attached displays](https://www.ruby-forum.com/t/getting-info-about-attached-displays/157609)

<div class="topic-metadata">

**Author:** [@philswenson](https://www.ruby-forum.com/u/philswenson)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/getting-info-about-attached-displays/157609 "2009-01-13T21:40:23Z")

</div>

Hi, I have a ruby daemon process that needs to get info about the monitors attached to the machine it is running on. Does anyone have any nice x-platform way of doing this? Barring that, how about some Windows calls? …

---

## [Binding.of\_caller examples don't work](https://www.ruby-forum.com/t/binding-of-caller-examples-dont-work/157410)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 16\
**Last updated:** [January 13, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/binding-of-caller-examples-dont-work/157410 "2009-01-13T18:51:08Z")

</div>

I’m trying to use the Binding class in the extensions library http://extensions.rubyforge.org/rdoc/index.html In particular, I want the method of\_caller, but none of the examples work for me get ‘undefined method or …

---

## [Behavior of 0 and 0.0](https://www.ruby-forum.com/t/behavior-of-0-and-0-0/157360)

<div class="topic-metadata">

**Author:** [@puffer\_ape](https://www.ruby-forum.com/u/puffer_ape)\
**Replies:** 15\
**Last updated:** [January 13, 2009, 5:19pm UTC](https://www.ruby-forum.com/t/behavior-of-0-and-0-0/157360 "2009-01-13T17:19:22Z")

</div>

I was playing around with the basic math functions, and I had some questions about the way Ruby handles operations with 0 and 0.0. first we have: $ ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) \[i486-linux\] $ irb …

---

## [Rakefile "$0" path in rake](https://www.ruby-forum.com/t/rakefile-0-path-in-rake/157600)

<div class="topic-metadata">

**Author:** [@peterk](https://www.ruby-forum.com/u/peterk)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 4:37pm UTC](https://www.ruby-forum.com/t/rakefile-0-path-in-rake/157600 "2009-01-13T16:37:36Z")

</div>

Is there a way to get the path to “itself” in a rakefile loaded by rake? ie for: rake --rakefile …/…/some/path/to/rakefile.rb inside rakefile myPath = # ??? p “running #{myPath}”

---

## [jruby/htmlUnit sample code](https://www.ruby-forum.com/t/jruby-htmlunit-sample-code/157564)

<div class="topic-metadata">

**Author:** [@bruce](https://www.ruby-forum.com/u/bruce)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/jruby-htmlunit-sample-code/157564 "2009-01-13T16:36:26Z")

</div>

Hi. Trying to find out if anyone has a sample jruby/HtmlUnit app that scrapes some data from an ajax webpage. I’d like to take a look at a live app/script to get a feel for how this kind of app works, what’s involve…

---

## [Rube newb: What is the term for this?](https://www.ruby-forum.com/t/rube-newb-what-is-the-term-for-this/157565)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 2\
**Last updated:** [January 13, 2009, 4:26pm UTC](https://www.ruby-forum.com/t/rube-newb-what-is-the-term-for-this/157565 "2009-01-13T16:26:56Z")

</div>

I’m learning Ruby, I’m sorry if this question is stupid. Let’s say a have a blog. Can Ruby do some operations to the database let’s say once a day. Just for imagination’s sake let’s say the operation would be to creat…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/157601)

<div class="topic-metadata">

**Author:** [@dustin\_b](https://www.ruby-forum.com/u/dustin_b)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/no-subject/157601 "2009-01-13T16:11:36Z")

</div>

unsubscribe

---

## [Congratulations to IronRuby MVPs: Peter Bacon Darwin and Michael Letterle](https://www.ruby-forum.com/t/congratulations-to-ironruby-mvps-peter-bacon-darwin-and-michael-letterle/157543)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 4\
**Last updated:** [January 13, 2009, 3:35pm UTC](https://www.ruby-forum.com/t/congratulations-to-ironruby-mvps-peter-bacon-darwin-and-michael-letterle/157543 "2009-01-13T15:35:01Z")

</div>

All, I want to congratulate two new “Microsoft Most Valuable Professionals” (MVP), Michael L. and Peter Bacon D.! They are IronRuby MVPs, though officially it says “Visual C#”. =P Thanks for your hard work! While yo…

---

## [Extending strftime](https://www.ruby-forum.com/t/extending-strftime/157592)

<div class="topic-metadata">

**Author:** [@wanyixue](https://www.ruby-forum.com/u/wanyixue)\
**Replies:** 2\
**Last updated:** [January 13, 2009, 1:37pm UTC](https://www.ruby-forum.com/t/extending-strftime/157592 "2009-01-13T13:37:45Z")

</div>

can i change the options which is recognized by strftime eg: ‘%Y %m %d’ will apply the format of YYYY mm dd can i do something like extending strftime to recognize ‘YYYY mm dd’ instead ? because right now , i am ru…

---

## [Parsing C/C++ in Ruby](https://www.ruby-forum.com/t/parsing-c-c-in-ruby/157583)

<div class="topic-metadata">

**Author:** [@sparkymat](https://www.ruby-forum.com/u/sparkymat)\
**Replies:** 2\
**Last updated:** [January 13, 2009, 1:32pm UTC](https://www.ruby-forum.com/t/parsing-c-c-in-ruby/157583 "2009-01-13T13:32:23Z")

</div>

I need to parse a source tree to generate a table of functions used. GCC-XML is causing more trouble than helping (I might be using it wrong). Is there a C/C++ parser library (written in Ruby) available? Failing which…

---

## [Encoding issue for special characters on Windows](https://www.ruby-forum.com/t/encoding-issue-for-special-characters-on-windows/157307)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 1:20pm UTC](https://www.ruby-forum.com/t/encoding-issue-for-special-characters-on-windows/157307 "2009-01-13T13:20:33Z")

</div>

Hi, I am facing an issue with special characters handling inside a Ruby script running on Windows and am sure some of you could help me on this. This script copies files such as “\<English\_name\>.txt” to “\<Other\_langu…

---

## [Unique identify computer (both Windows and MacOSX)](https://www.ruby-forum.com/t/unique-identify-computer-both-windows-and-macosx/157345)

<div class="topic-metadata">

**Author:** [@fmk](https://www.ruby-forum.com/u/fmk)\
**Replies:** 9\
**Last updated:** [January 13, 2009, 10:50am UTC](https://www.ruby-forum.com/t/unique-identify-computer-both-windows-and-macosx/157345 "2009-01-13T10:50:53Z")

</div>

Hello, How can I unique identify the OS where my Ruby code is running? I can do this using specific Win32 features but I looking for an OS independent approach…maybe using the HD serial? Regards, Fernando.

---

## [XOR two binary strings](https://www.ruby-forum.com/t/xor-two-binary-strings/157532)

<div class="topic-metadata">

**Author:** [@skeptic](https://www.ruby-forum.com/u/skeptic)\
**Replies:** 5\
**Last updated:** [January 13, 2009, 10:21am UTC](https://www.ruby-forum.com/t/xor-two-binary-strings/157532 "2009-01-13T10:21:31Z")

</div>

Howdy, I am having difficulty finding how to XOR 2 binary strings. Is there a builtin function for this ? Something like return string\_one ^ string\_two Thanks

---

## [Ruby 1.9 WinCE Port](https://www.ruby-forum.com/t/ruby-1-9-wince-port/157569)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 9:19am UTC](https://www.ruby-forum.com/t/ruby-1-9-wince-port/157569 "2009-01-13T09:19:04Z")

</div>

I recently downloaded Ruby 1.9.x and noticed that the WinCE port is now gone. There was a blog post (can’t recall the site name) from 6 months ago or so that I saw about the removal of several ports in 1.9. I know it …

---

## [99.respond\_to? :dup ==\> true](https://www.ruby-forum.com/t/99-respond-to-dup-true/157567)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 4\
**Last updated:** [January 13, 2009, 9:05am UTC](https://www.ruby-forum.com/t/99-respond-to-dup-true/157567 "2009-01-13T09:05:35Z")

</div>

I have values of various datatypes coming into this method and the method does a dup, since it modifies the values and obviously does not want to change the original. However, Fixnum’s do respond to :dup but give an e…

---

## [\[BUG:trunk\] Re: \[ruby-cvs:28403\] Ruby:r21185 (trunk): \* thread.c (rb\_thread\_blocking\_region): add a](https://www.ruby-forum.com/t/bug-trunk-re-ruby-cvs-28403-ruby-r21185-trunk-thread-c-rb-thread-blocking-region-add-a/156760)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 8:57am UTC](https://www.ruby-forum.com/t/bug-trunk-re-ruby-cvs-28403-ruby-r21185-trunk-thread-c-rb-thread-blocking-region-add-a/156760 "2009-01-13T08:57:56Z")

</div>

e$B$“$1$^$7$F$\*$a$G$H$&$4$6$$$^$9!”$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B In message “\[ruby-cvs:28403\] Ruby:r21185 (trunk): \* thread.c (rb\_thread\_blocking\_region): add a comment.” on Dec.30,2008 16:57:54, removed\_email\_add…

---

## [What's the rules re whether a Hash can use either a Symbol or String to reference the value?](https://www.ruby-forum.com/t/whats-the-rules-re-whether-a-hash-can-use-either-a-symbol-or-string-to-reference-the-value/157537)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 8\
**Last updated:** [January 13, 2009, 8:26am UTC](https://www.ruby-forum.com/t/whats-the-rules-re-whether-a-hash-can-use-either-a-symbol-or-string-to-reference-the-value/157537 "2009-01-13T08:26:14Z")

</div>

Hi, Getting confused with Hashes a bit. It seems sometimes I can use both a Symbol or a String to get the value back, but other times the Symbol doesn’t work. Is there any rule re how to remember how Hash handles s…

---

## [Test](https://www.ruby-forum.com/t/test/157562)

<div class="topic-metadata">

**Author:** [@bruce](https://www.ruby-forum.com/u/bruce)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 5:54am UTC](https://www.ruby-forum.com/t/test/157562 "2009-01-13T05:54:03Z")

</div>

test To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [Gemness--expected?](https://www.ruby-forum.com/t/gemness-expected/157427)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [January 13, 2009, 4:48am UTC](https://www.ruby-forum.com/t/gemness-expected/157427 "2009-01-13T04:48:35Z")

</div>

C:\\dev\\ruby\_backtracer\>gem install newgem ERROR: Error installing newgem: newgem requires rubigen (\>= 1.5.1, runtime) C:\\dev\\ruby\_backtracer\>gem install rubigen Successfully installed rubigen-1.5.1 1 gem installed …

---

## [\[Bug #983\] tool/file2lastrev.rb $B$NJ8;z%3!\<%I$NLdBj(B](https://www.ruby-forum.com/t/bug-983-tool-file2lastrev-rb-b-nj8-z-3-i-nldbj-b/156914)

<div class="topic-metadata">

**Author:** [@Martin\_DSSS\_rst](https://www.ruby-forum.com/u/Martin_DSSS_rst)\
**Replies:** 4\
**Last updated:** [January 13, 2009, 4:48am UTC](https://www.ruby-forum.com/t/bug-983-tool-file2lastrev-rb-b-nj8-z-3-i-nldbj-b/156914 "2009-01-13T04:48:00Z")

</div>

Bug #983: tool/file2lastrev.rb e$B$NJ8;z%3!\<%I$NLdBje(B http://redmine.ruby-lang.org/issues/show/983 e$B5/I\<\<Te(B: Martin De$(D+de(Brst e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core Reproducible …

---

## [Markaby -\> Nokogiri Issue](https://www.ruby-forum.com/t/markaby-nokogiri-issue/157526)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 2\
**Last updated:** [January 13, 2009, 3:17am UTC](https://www.ruby-forum.com/t/markaby-nokogiri-issue/157526 "2009-01-13T03:17:20Z")

</div>

I was using: Markaby::Builder.new(&block) And it was working fine except it wouldn’t let me use non-standard attributes on an img tag, which blows. I couldn’t find any way to deactivate this strictness, so I decided …

---

## [FYI Code Review: gitrakefix](https://www.ruby-forum.com/t/fyi-code-review-gitrakefix/157553)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 2:47am UTC](https://www.ruby-forum.com/t/fyi-code-review-gitrakefix/157553 "2009-01-13T02:47:28Z")

</div>

FYI: Going in via direct commit tfpt review “/shelveset:gitrakefix;REDMOND\\jdeville” Comment : Refactor’s Thread#raise spec’s to take into account suggestions from RubySpec IRC channel.

---

## [A good career choice?](https://www.ruby-forum.com/t/a-good-career-choice/157096)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 22\
**Last updated:** [January 13, 2009, 1:15am UTC](https://www.ruby-forum.com/t/a-good-career-choice/157096 "2009-01-13T01:15:39Z")

</div>

Hello, I am from the USA and I graduated last year with a BS. I’ve been trying to find a job doing HTML and CSS or Flash, but to no avail. I know finding a job will be hard, but I want to give myself the best chance o…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=923)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=925)
