Hi,
I have the following versions of ruby / irb (from the rubyforge
windows installer)
C:\ruby\bin>ruby -v
ruby 1.8.4 (2006-04-14) [i386-mswin32]
C:\ruby\bin>irb -v
irb 0.9.5(05/04/13)
and I wrote a module (as a C extension) and have the following results
(Note that Config - a submodule - is missing in the irb results):
Ruby
C:\ruby\bin>ruby -r Sleep/BoutsIntervals -e “p
Sleep::BoutsIntervals.constants”
[“IPP”, “Death”, “Config”, “DAMS”, “Args”]
IRB
C:\ruby\bin>irb -r Sleep/BoutsIntervals
irb(main):001:0> Sleep::BoutsIntervals.constants
=> [“IPP”, “Death”, “DAMS”, “Args”]
The extension was compiled via the directions in
http://www.koontzfamily.org/david/blog/?p=230
using cl:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
Any ideas?
~Matt Maycock