Do Ruby Structs actually present any significant advantages over declaring a class and using attr_accessor?
-
-
@bascule you asked if it had any advantages. It defines#initialize for you, and you can pass in initial values -
@joevandyk ok.@steveklabnik mentioned that too. seems reasonable I guess?
End of conversation
New conversation -
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.