Module: Bio::Features::BackwardCompatibility
- Defined in:
- lib/bio/compat/features.rb
Overview
module to keep backward compatibility with obsoleted Bio::Features
Instance Method Summary (collapse)
-
- (Object) append(feature)
Backward compatibility with Bio::Features#append.
-
- (Object) features
Backward compatibility with Bio::Features#features.
Instance Method Details
- (Object) append(feature)
Backward compatibility with Bio::Features#append. Now, references are stored in an array, and you should change your code not to use this method.
81 82 83 84 85 |
# File 'lib/bio/compat/features.rb', line 81 def append(feature) warn 'Bio::Features is obsoleted. Now, features are stored in an array.' self.push(feature) if feature.is_a? Feature self end |
- (Object) features
Backward compatibility with Bio::Features#features. Now, features are stored in an array, and you should change your code not to use this method.
73 74 75 76 |
# File 'lib/bio/compat/features.rb', line 73 def features warn 'Bio::Features is obsoleted. Now, features are stored in an array.' self end |