« blib/lib/Bio/Graphics/Browser2/Shellwords.pm
↑ Summary
blib/lib/Legacy/Graphics/Browser/PageSettings.pm »
| 1 | package Bio::Graphics::GBrowseFeature; | ||
| 2 | |||
| 3 | # $Id$ | ||
| 4 | # add gbrowse_dbid() method to Bio::Graphics::Feature; | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | use base 'Bio::Graphics::Feature'; | ||
| 9 | |||
| 10 | sub gbrowse_dbid { | ||
| 11 | my $self = shift; | ||
| 12 | my $d = $self->{__gbrowse_dbid}; | ||
| 13 | $self->{__gbrowse_dbid} = shift if @_; | ||
| 14 | $d; | ||
| 15 | } | ||
| 16 | |||
| 17 | 1; | ||
| 18 |