Since 5/8/2012 8:45:41 PM, johnf4608 has written 1 articles and participated in 32 conversations. johnf4608 signature: johnf4608
johnf4608's articles:
Items(1) /1
Unexpected behavior when referencing nested classes228 (5/28/2011 12:21:55 PM) comp.lang.ruby It was my understanding that consts are first searched for in their own module scope before Ruby starts looking elsewhere. So, if you have a class called X in a module M1::M2 and another one at top level, and y... John
Lets play a guessing game. (how to code this better?)1935 (5/5/2011 6:45:52 AM) comp.lang.ruby I am a new Rubyist. I told my friend that I was learning Ruby. He asked me how that was going and then gave me a little challenge. His challenge, "Write a text game that guesses numbers 0-100". My reply, "you m... Super
Cross access between instance variables722 (5/5/2011 7:06:51 PM) comp.lang.ruby I am working on a larger Ruby program, where instance variables of one class need access to content of another class -- I wonder how I should solve this problem best. Assume we have multiple fish tanks, each w... mail6284(11)
Ruby Activity2325 (5/7/2011 4:17:44 PM) comp.lang.ruby Is ruby still being developed? The official site has last release in dec 2010. The other thing is are any of the GUI toolkits still being developed. Most of them date back to 2009 or later. I love ruby but I... kajisakka(8)
Help with while condition OR condition1326 (5/7/2011 10:37:00 PM) comp.lang.ruby Hi everyone, This is my first post, so I hope I don't sound too inexperienced.. I'm trying to teach myself Ruby, and have run into an issue with a while statement that will break if an input is "exit" or "qui... sirwillard42(2)
Ruby Future Or?2725 (5/15/2011 11:31:39 AM) comp.lang.ruby I was thinking today and I was wondering if ruby has a future when python is being to widely accepted. Outside of rails, because I have no want to code in rails. Thanks -- Posted via http://www.ruby-forum.co... piratej74(3)
Class instance method234 (6/5/2011 2:03:54 AM) comp.lang.ruby Consider this irb session C:\InstantRails-2.0-win\rails_apps>irb irb(main):001:0> class M irb(main):002:1> @w = "ralph" irb(main):003:1> irb(main):004:1* def M.v irb(main):005:2> @w irb(main):006:2> end irb(ma... ralphs(104)
a little challenge - reproduce this error2140 (6/8/2011 12:30:51 PM) comp.lang.ruby Want to see a really amazing error I got this week? Okay... but to make it more interesting I am going to the change some names to protect the innocent, and offer up a little challenge: How can reproduce it? T... transfire(2969)
strange ruby error235 (6/11/2011 1:23:42 AM) comp.lang.ruby i get strange error test.rb.rb:14: syntax error, unexpected '}' makes no sense as the only time i use } is to close the each block. pl help require 'fastercsv' #put everything in an array array = FasterCSV.rea... junkone1(243)
commit message conventions1351 (6/13/2011 11:38:44 AM) comp.lang.ruby When I write commit messages I add a "team" prefix to the message, generally `admin`, 'doc` or `test` followed by a colon, space, and then message. e.g. admin: Updated README to explain new config options... transfire(2969)