code that makes me sad: class Attribute < Struct.new(:coder, :value, :state)... Creates 2 classes where 1 will do.
@akahn @joshsusser sure, but that’s what you want? I thought he was implying three somehow.
-
-
This Tweet is unavailable.
-
@akahn@joshsusser it’s very very useful! http://blog.steveklabnik.com/posts/2012-09-01-random-ruby-tricks--struct-new … and you don’t want to use it outside of it being the parent class... - Show replies
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.