Method: Bio::Features.new
- Defined in:
- lib/bio/compat/features.rb
.new(ary = []) ⇒ Object
This method should not be used. Only for backward compatibility of existing code.
Since Bio::Features is obsoleted, Bio::Features.new not returns Bio::Features object, but modifies given ary and returns the ary.
Arguments:
-
(optional) __: Array of Bio::Feature objects
- Returns
-
the given array
98 99 100 101 102 |
# File 'lib/bio/compat/features.rb', line 98 def self.new(ary = []) warn 'Bio::Features is obsoleted. Some methods are added to given array to keep backward compatibility.' ary.extend(BackwardCompatibility) ary end |