Class: Bio::Feature::Qualifier
Overview
Container for qualifier-value pairs for sequence features.
Instance Attribute Summary collapse
-
#qualifier ⇒ Object
readonly
Qualifier name in String.
-
#value ⇒ Object
readonly
Qualifier value in String.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ Qualifier
constructor
Creates a new Bio::Feature::Qualifier object.
Constructor Details
#initialize(key, value) ⇒ Qualifier
Creates a new Bio::Feature::Qualifier object
Arguments:
-
(required) key: key of the qualifier (e.g. “gene”)
-
(required) value: value of the qualifier (e.g. “CYP2D6”)
- Returns
-
Bio::Feature::Qualifier object
124 125 126 |
# File 'lib/bio/feature.rb', line 124 def initialize(key, value) @qualifier, @value = key, value end |