Method: Bio::Nexus::CharactersBlock#initialize
- Defined in:
- lib/bio/db/nexus.rb
#initialize(name) ⇒ CharactersBlock
Creates a new CharactersBlock object named ‘name’.
Arguments:
-
(required) name: String
952 953 954 955 956 957 958 959 960 961 |
# File 'lib/bio/db/nexus.rb', line 952 def initialize( name ) super( name ) @number_of_taxa = 0 @number_of_characters = 0 @data_type = String.new @gap_character = String.new @missing = String.new @match_character = String.new @matrix = NexusMatrix.new end |