Posted on November 26, 2009, 12:33 pm, by David, under
L33t Links.
It’s been real quiet in the Rails community the last couple of days, but now I have a few links ready for you:
Posted on November 18, 2009, 10:48 am, by David, under
L33t Links.
Posted on November 15, 2009, 2:07 pm, by David, under
L33t Links.
Posted on November 12, 2009, 9:42 am, by David, under
L33t Links.
Posted on November 9, 2009, 1:15 pm, by David, under
L33t Links.
Posted on November 7, 2009, 7:43 pm, by David, under
L33t Links.
#42! This blog post is the answer to everything! Or not!
Posted on November 6, 2009, 8:48 am, by David, under
Tips.
You may already know this, but this is absolutely new to me. Yesterday a question suddenly popped up: “Can you put a class into a class?” I instantly hopped into irb (<3) and did this:
david@david-laptop:~$ irb
irb(main):001:0> class Foo
irb(main):002:1> class Bar
irb(main):003:2> end
irb(main):004:1> end
=> nil
irb(main):005:0> Foo.new
=> #<Foo:0xb77130b0>
irb(main):006:0> Foo::Bar.new
=> #<Foo::Bar:0xb770f960>
I’ve been wondering if this was possible before, but kind of assumed it wasn’t. But it is, and it’s just another example of Ruby’s awesometasticness. I’ll definitely use this, and I hope it’ll be useful for you too.
Posted on November 6, 2009, 8:25 am, by David, under
L33t Links.