Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Class variables and how to set them up only once.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Kyle Schmitt, post: 4569121"] dblack, I've never tried to use ||= before... but damn if that doesn't work well! I was expecting it to die like my @@whatever=:this unless @@whatever had when I tried that. Neat! Robert, I've found the docs for log4r to be slightly better than those for well.. umm. nothing. There about the worst docs I've found for a widely used package ;) I've used log4r in other projects several months ago, but didn't feel like going through the pain of setting it up and re-learning it. While it's a good lib, the docs are horrible. Thanks, Kyle [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Class variables and how to set them up only once.
Top