/// <summary>
/// Struct#new
/// Creates Struct classes with the specified name and members
/// </summary>
private static object Create(BlockParam block, RubyClass /*!*/ self, string className, string /*!*/[] /*!*/ attributeNames)
{
var result = RubyStruct.DefineStruct(self, className, attributeNames);
if (block != null)
{
return(RubyUtils.EvaluateInModule(result, block, result));
}
return(result);
}