Templates in Ruby

I have a created a dll using c# .net. I am trying to access this dll
using rubyclr. Templates are to be passed as parameters to this dll to
return a specific object.


Where Button is the template which is to be passed to get the button
Following is the button definition

 public virtual T Get<T>(SearchCriteria searchCriteria) where T : 

return (T) Get(searchCriteria.AndControlType(typeof (T)));

Where T is the template.

Does anyone know how to pass this template Button using ruby so that i
can access the dll using ruby.
Does Ruby support templates.