[BioRuby] [GSoC][NeXML and RDF API] Code Review.

Naohisa Goto ngoto at gen-info.osaka-u.ac.jp
Fri Jul 2 20:26:58 UTC 2010


Hi Anurag,

I don't understand what you want to do, and how the const_get shorten
your code. Please show example code.

Naohisa Goto
ngoto at gen-info.osaka-u.ac.jp / ng at bioruby.org


> >
> > Perhaps it would be better to use Kernel.const_get and initialize the
> > correct type. So, if I have a DnaMatrix i would use DnaSequence or DnaToken
> > for matrix cells. It would make the code a *lot* shorter. I should also do
> > away with the type hierarchy of Rows( DnaSeqRow, RnaSeqRow and others ).
> >
> >
> I meant Module#const_get :P.
> 
> 
> -- 
> Anurag Priyam,
> 2nd Year Undergraduate,
> Department of Mechanical Engineering,
> IIT Kharagpur.
> +91-9775550642
> _______________________________________________
> BioRuby Project - http://www.bioruby.org/
> BioRuby mailing list
> BioRuby at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioruby





More information about the BioRuby mailing list