Do Ruby Structs actually present any significant advantages over declaring a class and using attr_accessor?
-
-
-
Replying to @bascule
@bascule you asked if it had any advantages. It defines#initialize for you, and you can pass in initial values1 reply 0 retweets 0 likes
Replying to @joevandyk
@joevandyk ok. @steveklabnik mentioned that too. seems reasonable I guess?
4:22 PM - 18 Jan 2013
0 replies
0 retweets
0 likes
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.