Description:
The Ruby dynamic OO programming language.
|
|
|
Class variables, instance variables, singleton; Ruby v. C++
|
| |
Newb here coming from C++ Ok, I _think_ I know what a class variable is. It is similar to a static variable in a class in C++. Rght? An instance variable is apart of an instantiated class, right? What's a singleton? I don't think it's the same as as singleton in C++ parlance. - - - If Class X wants to access a class variable and/or constant in Class Y, must a class... more »
|
|
suggestion: Pathname#freespace
|
| |
Here's my suggestion: Pathname#freespace # tells you how much freespace is available on that mountpoint Of course java has two different calls--getFreeSpace and getUsableSpace -- would it be worth having two here? Any thoughts on this one? -r
|
|
Racc fails on install
|
| |
Hi all, I am very new to ruby but have got things up and running. I'm now trying to install racc and am hitting a serious problem which I can't resolve. I'm running Windows XP and Ruby 186-26 and have updated to the lastest RubyGems. When I run P:\>gem install c:racc-1.4.6.gem, I get back... Building native extensions. This could take a while...... more »
|
|
Quality Wholesale Adidas,Puma,Gucci,UGG,Ed hardy,Bape,Prada,LV,Burberry brand new shoes www.ebaychinaonline.com
|
| |
For more information,please contact Sophie,Yahoo: globaltrader2...@yahoo.com.cn Minimum order is one,factory price also!Paypal payment free shipping,ship time will take 4-7 working days. Timberland Boots [link] Timberland x Supreme Field Boots (clt / pink)... more »
|
|
Help with regex
|
| |
[Note: parts of this message were removed to make it a legal post.] Hello everyone. I'm trying to match the following pattern: Text1\n Text2\n Text3--- Please note that Text3 can contain \n. I tried using this regex: /(.*?)\n(.*?)\n(.*?)---/ The pattern matches and I have three matches, but they're like this:... more »
|
|
Ruby byte access to disk sectors like dd does
|
| |
I have been unable to find any reference to Ruby methods that provide raw disk access the way dd does. I frequently use the Linux utility program, dd, and would like to be able to do the same type of byte-level and sector-level access to the hard drive with Ruby. (What I am looking for is not file access.) Are there Ruby methods to provide this... more »
|
|
|