<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 17 June 2014 12:14, Tom Stuart <span dir="ltr"><<a href="mailto:tom@codon.com" target="_blank">tom@codon.com</a>></span> wrote:</div><div class="gmail_quote">

<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Server = Struct.new(:ami, :name, :time)</blockquote></div>

<br>Everybody seems to forget about Struct: <a href="http://www.ruby-doc.org/core-2.1.2/Struct.html">http://www.ruby-doc.org/core-2.1.2/Struct.html</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">On many occasions I've seen classes that have attributes but no methods - they should clearly be Structs.</div>

</div>