# Ruby

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

[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:** 807

---

## [Code Review: ClrMemberEnumeration](https://www.ruby-forum.com/t/code-review-clrmemberenumeration/170076)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 12, 2009, 12:13am UTC](https://www.ruby-forum.com/t/code-review-clrmemberenumeration/170076 "2009-06-12T00:13:48Z")

</div>

tfpt review “/shelveset:ClrMemberEnumeration;REDMOND\\tomat” Implements CLR member enumeration: methods Module#methods, instance\_methods, etc. now include CLR member names. Adds IronRuby::Clr::Name class, which represe…

---

## [Warbler error](https://www.ruby-forum.com/t/warbler-error/169042)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 2\
**Last updated:** [June 11, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/warbler-error/169042 "2009-06-11T23:40:15Z")

</div>

My attempts to use warbler fail consistently on both Windows and RHEL 5 Linux, with the error below. It looks similar to the “lib” error that people were having a few months back, but in my case Rake is reporting that…

---

## [JRuby 1.3.0 issue with warbler](https://www.ruby-forum.com/t/jruby-1-3-0-issue-with-warbler/169709)

<div class="topic-metadata">

**Author:** [@cmanruby](https://www.ruby-forum.com/u/cmanruby)\
**Replies:** 11\
**Last updated:** [June 11, 2009, 11:25pm UTC](https://www.ruby-forum.com/t/jruby-1-3-0-issue-with-warbler/169709 "2009-06-11T23:25:45Z")

</div>

I have trouble to use jruby 1.3.0 with warbler. If I create a war file with jruby 1.2.0, all succeed: chris:~/workspaceExtJs/carrierDB2.0 mullerc$ jruby -v jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419…

---

## [Problems with the irtodo application](https://www.ruby-forum.com/t/problems-with-the-irtodo-application/170068)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/problems-with-the-irtodo-application/170068 "2009-06-11T22:27:42Z")

</div>

Most of the bugs should be out now, don’t really know what happened but I reserve the right to call on programmer excuse #12: It works on my machine how weird :wink: Met vriendelijke groeten - Best regards - Saluta…

---

## [CR: Various Git commits](https://www.ruby-forum.com/t/cr-various-git-commits/170005)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 5\
**Last updated:** [June 11, 2009, 9:22pm UTC](https://www.ruby-forum.com/t/cr-various-git-commits/170005 "2009-06-11T21:22:33Z")

</div>

refactor irtests into a ruby scripthttp://github.com/jredville/ironruby/commit/24d206a4a9abb9098dc9be111a8802eedaf0a5ce hook up test tasks, change default to run tests, make git:commit run tests, nam…

---

## [Unit tests fail because imported Java class names are not recognised](https://www.ruby-forum.com/t/unit-tests-fail-because-imported-java-class-names-are-not-recognised/170018)

<div class="topic-metadata">

**Author:** [@f2andy](https://www.ruby-forum.com/u/f2andy)\
**Replies:** 1\
**Last updated:** [June 11, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/unit-tests-fail-because-imported-java-class-names-are-not-recognised/170018 "2009-06-11T20:57:09Z")

</div>

I have a Ruby class that draws graphs for a Rails project, using JRuby to access Java functionality, and it works fine. However, the unit tests fail, objecting that I have an uninitialized constant for an imported Ja…

---

## [\[ANN\] ri\_cal 0.6.2 Released](https://www.ruby-forum.com/t/ann-ri-cal-0-6-2-released/170057)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/ann-ri-cal-0-6-2-released/170057 "2009-06-11T20:12:30Z")

</div>

ri\_cal version 0.6.2 has been released! http://ri-cal.rubyforge.org/ A new Ruby implementation of RFC2445 iCalendar. The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide for parsing and generating…

---

## [Rip raa](https://www.ruby-forum.com/t/rip-raa/170043)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [June 11, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/rip-raa/170043 "2009-06-11T19:16:04Z")

</div>

Looks like the RAA is “not only merely dead. She’s really most sincerely dead”. http://raa.ruby-lang.org/ Notice SPAM, notice no new projects, etc. Maybe it’s time to take the site down? It can’t possible reflect wel…

---

## [Re: Looking for documentation about special clr related methods](https://www.ruby-forum.com/t/re-looking-for-documentation-about-special-clr-related-methods/169995)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/re-looking-for-documentation-about-special-clr-related-methods/169995 "2009-06-11T19:08:45Z")

</div>

Not docs yet, but they are coming. They are all for better .NET integration. Let me give you a little bit of the docs I’m working on: to\_clr\_type is to get the actual CLR Type object from a constant, if that constant …

---

## [BigDecimal#to\_i](https://www.ruby-forum.com/t/bigdecimal-to-i/170035)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/bigdecimal-to-i/170035 "2009-06-11T18:26:38Z")

</div>

BigDecimal e$B$N=$@5$N7o$G\>/$7;n$7$F$$$?$N$G$9$,!“e(Bto\_i e$B$C$F$+$J$jCY$/$J$ke(B e$B$3$H$,$”$k$h$&$G$9$M!#e(B BigDecimal#split e$B$,$"$i$o$9M-M}?t$+$i@0?t$r5a$a$i$l$k$N$G!"e(Bto\_i e$B$,0UL#$9$k$N$O35$M0J2\<$N$h$&$J$…

---

## [Should irb default to auto complete?](https://www.ruby-forum.com/t/should-irb-default-to-auto-complete/170032)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [June 11, 2009, 5:43pm UTC](https://www.ruby-forum.com/t/should-irb-default-to-auto-complete/170032 "2009-06-11T17:43:38Z")

</div>

Seems to me like it would be a very user friendly default to have irb default to command completion. I realize this is possible by setting it up manually but…default? no? yes? Thanks. -=r

---

## [Match data variables](https://www.ruby-forum.com/t/match-data-variables/169952)

<div class="topic-metadata">

**Author:** [@larsch](https://www.ruby-forum.com/u/larsch)\
**Replies:** 5\
**Last updated:** [June 11, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/match-data-variables/169952 "2009-06-11T15:47:50Z")

</div>

I understand that $~ and its friends ($&, $1, …) are method local, but: Can a custom method mimic the behaviour of String#match, String#=~ etc and set the match data for the caller? def expect(pattern) gets =~ patte…

---

## [Wsdl2ruby usage](https://www.ruby-forum.com/t/wsdl2ruby-usage/170028)

<div class="topic-metadata">

**Author:** [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 2:17pm UTC](https://www.ruby-forum.com/t/wsdl2ruby-usage/170028 "2009-06-11T14:17:50Z")

</div>

Hi All, I had run the following command wsdl2ruby --wsdl http://xxxxx/?wsdl --type client got 4 .rb files: xxxClient.rb xxxDriver.rb xxxMappingRegistry.rb xxx.rb But I don’t know how to use these files. Can anyone…

---

## [\[Bug #1601\] $B%I%C%H$N4^$^$l$?(B exe $B%U%!%$%k$N\<B9T(B](https://www.ruby-forum.com/t/bug-1601-b-i-c-h-n4-l-b-exe-b-u-k-n-b9t-b/170024)

<div class="topic-metadata">

**Author:** [@Kimura\_Yoshihiro](https://www.ruby-forum.com/u/Kimura_Yoshihiro)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 2:06pm UTC](https://www.ruby-forum.com/t/bug-1601-b-i-c-h-n4-l-b-exe-b-u-k-n-b9t-b/170024 "2009-06-11T14:06:08Z")

</div>

Bug #1601: e$B%I%C%H$N4^$^$l$?e(B exe e$B%U%!%$%k$N\<B9Te(B http://redmine.ruby-lang.org/issues/show/1601 e$B5/I\<\<Te(B: Kimura Yoshihiro e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.1p129 (2009-05-12…

---

## [WIN32OLE : how to get put-property types?](https://www.ruby-forum.com/t/win32ole-how-to-get-put-property-types/170013)

<div class="topic-metadata">

**Author:** [@bdamour](https://www.ruby-forum.com/u/bdamour)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 1:40pm UTC](https://www.ruby-forum.com/t/win32ole-how-to-get-put-property-types/170013 "2009-06-11T13:40:53Z")

</div>

Hi, I’m trying to make a generic COM web server that permits to interact with any COM object through a web browser… I’ve tryed first to do that using Python, but the reflexivity wasn’t good enough (not working with C…

---

## [Is there a decent canonical way to get total days in a month from say Time class?](https://www.ruby-forum.com/t/is-there-a-decent-canonical-way-to-get-total-days-in-a-month-from-say-time-class/169996)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 4\
**Last updated:** [June 11, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/is-there-a-decent-canonical-way-to-get-total-days-in-a-month-from-say-time-class/169996 "2009-06-11T12:53:19Z")

</div>

I suppose I could flip through local until I generate an exception, but somehow I would think there would be a set of class methods to get: daysofmonth = Time.daysofmonth(y,m) daysofyear = Time.daysofyear(y) leapday…

---

## [\[Bug #1598\] typo in lib/prime.rb](https://www.ruby-forum.com/t/bug-1598-typo-in-lib-prime-rb/170004)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [June 11, 2009, 8:38am UTC](https://www.ruby-forum.com/t/bug-1598-typo-in-lib-prime-rb/170004 "2009-06-11T08:38:03Z")

</div>

Bug #1598: typo in lib/prime.rb http://redmine.ruby-lang.org/issues/show/1598 e$B5/I\<\<Te(B: okkez \_ e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: DOC ruby -v: ruby 1.9.2dev (2009-05-12 trunk 23414) \[i…

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 7:04am UTC](https://www.ruby-forum.com/t/no-subject/170002 "2009-06-11T07:04:25Z")

</div>

unsubscribe

---

## [More questions regarding .irbrc on Windows](https://www.ruby-forum.com/t/more-questions-regarding-irbrc-on-windows/169985)

<div class="topic-metadata">

**Author:** [@bbiker](https://www.ruby-forum.com/u/bbiker)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 7:00am UTC](https://www.ruby-forum.com/t/more-questions-regarding-irbrc-on-windows/169985 "2009-06-11T07:00:54Z")

</div>

I did not want to kidnap a previous thread on the subject of .irbrc on Windows. On my Windows XP SP3, I have 3 Ruby installed. ruby 1.8.6 (2008-08-11 patchlevel 287) \[i386-mswin32\] ruby 1.8.6 (2009-03-31 patchlevel 3…

---

## [Swinger video](https://www.ruby-forum.com/t/swinger-video/169909)

<div class="topic-metadata">

**Author:** [@Demetrius\_Nunes](https://www.ruby-forum.com/u/Demetrius_Nunes)\
**Replies:** 12\
**Last updated:** [June 11, 2009, 6:03am UTC](https://www.ruby-forum.com/t/swinger-video/169909 "2009-06-11T06:03:34Z")

</div>

Hi guys, I’ve just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step definition library for testing Java/Swing applications. Here’s the link: Anyone has the same need for testing Swing apps? Regard…

---

## [Is there a method to tell me the name of the method I'm in?](https://www.ruby-forum.com/t/is-there-a-method-to-tell-me-the-name-of-the-method-im-in/169997)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 5:43am UTC](https://www.ruby-forum.com/t/is-there-a-method-to-tell-me-the-name-of-the-method-im-in/169997 "2009-06-11T05:43:40Z")

</div>

This would be handy with some of my class methods for composing exception messages…??

---

## [\[Feature: trunk\] ObjectSpace.count\_nodes](https://www.ruby-forum.com/t/feature-trunk-objectspace-count-nodes/169989)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 1\
**Last updated:** [June 11, 2009, 5:29am UTC](https://www.ruby-forum.com/t/feature-trunk-objectspace-count-nodes/169989 "2009-06-11T05:29:38Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(BObjectSpace.count\_objects e$B$H$$$&!$%\*%V%8%'%/%H$N\<oN\`$r?t$($k%a%=%C%I$,e(B e$B$"$j$^$9$,!$F1$8$h$&$Ke(B ObjectSpace.count\_nodes e$B$H$$$&$b$N$r2C$($k$N$O$Ie(B e$B$&$G$7$g$&$+!%e(B e$B…

---

## [Ideas for a JIT optimizer](https://www.ruby-forum.com/t/ideas-for-a-jit-optimizer/169993)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [June 11, 2009, 2:47am UTC](https://www.ruby-forum.com/t/ideas-for-a-jit-optimizer/169993 "2009-06-11T02:47:36Z")

</div>

Currently I am thinking that an optimizer that takes class A def one\_thing calls\_another 3 end def calls\_another a a.to\_s end end and converts it to C, such that one\_thing calls another in c would be a good JI…

---

## [Call for pulls](https://www.ruby-forum.com/t/call-for-pulls/169994)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 1:56am UTC](https://www.ruby-forum.com/t/call-for-pulls/169994 "2009-06-11T01:56:09Z")

</div>

I’ll be doing a Git pull tomorrow. If you are ready to have your work pulled in, please merge the latest Git HEAD after 5pm (Pacific time) tonight, and let me know. I’ll be starting when I get in tomorrow, which is us…

---

## [Rdoc does not document UTF-8 files?](https://www.ruby-forum.com/t/rdoc-does-not-document-utf-8-files/169975)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 1:04am UTC](https://www.ruby-forum.com/t/rdoc-does-not-document-utf-8-files/169975 "2009-06-11T01:04:03Z")

</div>

Hi, yesterday I tried to document a piece of code I had written in Ruby 1.9. But it turned out that Rdoc wasn’t able to document my UTF-8 encoded file! Reduced to a minimal example, this file… #Encoding: UTF-8 #test …

---

## [The cover of "The Well-Grounded Rubyist"](https://www.ruby-forum.com/t/the-cover-of-the-well-grounded-rubyist/169942)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 4\
**Last updated:** [June 11, 2009, 12:35am UTC](https://www.ruby-forum.com/t/the-cover-of-the-well-grounded-rubyist/169942 "2009-06-11T00:35:56Z")

</div>

Hi all – I’ve gotten a couple of questions about why there seem to be two covers for my new book, “The Well-Grounded Rubyist”. Answer: the cover was redesigned, late in the production process, and the original cover …

---

## [Sqlite3 on Ruby](https://www.ruby-forum.com/t/sqlite3-on-ruby/169911)

<div class="topic-metadata">

**Author:** [@include](https://www.ruby-forum.com/u/include)\
**Replies:** 4\
**Last updated:** [June 10, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/sqlite3-on-ruby/169911 "2009-06-10T23:26:19Z")

</div>

Hello I’m trying to install gem sqlite 3 and I’m getting this error: root@kundera-laptop:/usr/local/lib/ruby/gems# gem install sqlite3-ruby –version 1.2.2 Building native extensions. This could take a while… ERROR: …

---

## [Code Review: NewSingletons4](https://www.ruby-forum.com/t/code-review-newsingletons4/169984)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/code-review-newsingletons4/169984 "2009-06-10T22:55:04Z")

</div>

tfpt review “/shelveset:NewSingletons4;REDMOND\\tomat” Improves the implementation of singleton method dispatch. The previous singleton related shelveset made IRubyObject singleton methods as fast to call as regu…

---

## [JOpenSSL source](https://www.ruby-forum.com/t/jopenssl-source/169972)

<div class="topic-metadata">

**Author:** [@Timothy\_Hanson](https://www.ruby-forum.com/u/Timothy_Hanson)\
**Replies:** 5\
**Last updated:** [June 10, 2009, 10:13pm UTC](https://www.ruby-forum.com/t/jopenssl-source/169972 "2009-06-10T22:13:25Z")

</div>

Where is the source for JOpenSSL? I tried downloading via svn://rubyforge.org/var/svn/jruby-extras, but the code under trunk was empty. I’m running into issues moving code from MRI Ruby to JRuby. Mostly I’ve hit issu…

---

## [ActiveRecord test problem](https://www.ruby-forum.com/t/activerecord-test-problem/169563)

<div class="topic-metadata">

**Author:** [@ffrancy](https://www.ruby-forum.com/u/ffrancy)\
**Replies:** 4\
**Last updated:** [June 10, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/activerecord-test-problem/169563 "2009-06-10T21:50:32Z")

</div>

I have a problem to run ActiveRecord’s tests. I downloaded the source code of ActiveRecord and I put it in NetBeansProject folder (I use that IDE). I opened it as a Ruby project with existing source. I had also to put …

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

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