Resume
Say something
I keep hearing it over and over again; using Cucumber is redundant. Bullshit right? Check out this article.
Visited Gibson to pick up and test drive both an acoustic and an electric. The acoustic in particular, a “Blues King”, blew me away and will hopefully be my new best friend on journeys around the world in the near future. Here they both are next to my other bestest of friends on the left.
class Module
def thattr name
module_eval <<-code
def #{ name }() Thread.current[#{ name.to_s.inspect }] end
def #{ name }=(v) Thread.current[#{ name.to_s.inspect }] = v end
code
end
end
class Foo thattr :x end
foo = Foo.new bar = Foo.new foo.x = 1 p bar.x # ==> 1