On Wed, Nov 26, 2008 at 12:04 PM, Tomas Matousek < [EMAIL PROTECTED]> wrote:
> I'm thinking of something like: > > myTexture = content.load of(Texture2D), "mytexture" > > I.e. we would add Kernel#of method that takes a list of classes/modules and > returns a special object representing generic parameters that binder would > use for selecting the right method. > > We are open for more ideas. > Couldn't you just send in the constant? What would the Kernel#of method do for you? myTexture = content.load Texture2D, "mytexture" Or, could you use method_missing? myTexture = content.load_Texture2D "mytexture" Tomas > >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core