# Code Review: StructNew

**URL:** <https://www.ruby-forum.com/t/code-review-structnew/169967>\
**Category:** IronRuby\
**Created:** [June 10, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/code-review-structnew/169967 "2009-06-10T19:40:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grujildo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Post date:** [June 10, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/code-review-structnew/169967/1 "2009-06-10T19:40:54Z")

</div>

tfpt review “/shelveset:StructNew;REDMOND\tomat”  
Comment :  
Fixes allocation of structs. A struct can always be allocated by  
calling new or allocate with no parameters or calling its constructor if  
available.

Tomas
