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.
19 20 21 22 23 24 25 26 |
# File 'lib/nexus_parser.rb', line 19 def initialize @taxa = [] @characters = [] @sets = [] @codings = [] @notes = [] @vars = {} end |
Instance Attribute Details
#characters ⇒ Object
Returns the value of attribute characters.
17 18 19 |
# File 'lib/nexus_parser.rb', line 17 def characters @characters end |
#codings ⇒ Object
Returns the value of attribute codings.
17 18 19 |
# File 'lib/nexus_parser.rb', line 17 def codings @codings end |
#notes ⇒ Object
Returns the value of attribute notes.
17 18 19 |
# File 'lib/nexus_parser.rb', line 17 def notes @notes end |
#sets ⇒ Object
Returns the value of attribute sets.
17 18 19 |
# File 'lib/nexus_parser.rb', line 17 def sets @sets end |
#taxa ⇒ Object
Returns the value of attribute taxa.
17 18 19 |
# File 'lib/nexus_parser.rb', line 17 def taxa @taxa end |
#vars ⇒ Object
Returns the value of attribute vars.
17 18 19 |
# File 'lib/nexus_parser.rb', line 17 def vars @vars end |