Class: NexusParser::NexusParser
- Inherits:
-
Object
- Object
- NexusParser::NexusParser
- Defined in:
- lib/nexus_parser.rb
Defined Under Namespace
Classes: Character, ChrState, Coding, Note, Taxon
Instance Attribute Summary collapse
-
#characters ⇒ Object
Returns the value of attribute characters.
-
#codings ⇒ Object
Returns the value of attribute codings.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#sets ⇒ Object
Returns the value of attribute sets.
-
#taxa ⇒ Object
Returns the value of attribute taxa.
-
#vars ⇒ Object
Returns the value of attribute vars.
Instance Method Summary collapse
-
#initialize ⇒ NexusParser
constructor
A new instance of NexusParser.
Constructor Details
#initialize ⇒ NexusParser
Returns a new instance of NexusParser.
16 17 18 19 20 21 22 23 |
# File 'lib/nexus_parser.rb', line 16 def initialize @taxa = [] @characters = [] @sets = [] @codings = [] @notes = [] @vars = {} end |
Instance Attribute Details
#characters ⇒ Object
Returns the value of attribute characters.
14 15 16 |
# File 'lib/nexus_parser.rb', line 14 def characters @characters end |
#codings ⇒ Object
Returns the value of attribute codings.
14 15 16 |
# File 'lib/nexus_parser.rb', line 14 def codings @codings end |
#notes ⇒ Object
Returns the value of attribute notes.
14 15 16 |
# File 'lib/nexus_parser.rb', line 14 def notes @notes end |
#sets ⇒ Object
Returns the value of attribute sets.
14 15 16 |
# File 'lib/nexus_parser.rb', line 14 def sets @sets end |
#taxa ⇒ Object
Returns the value of attribute taxa.
14 15 16 |
# File 'lib/nexus_parser.rb', line 14 def taxa @taxa end |
#vars ⇒ Object
Returns the value of attribute vars.
14 15 16 |
# File 'lib/nexus_parser.rb', line 14 def vars @vars end |