Class: Bio::NeXML::Row
- Inherits:
-
Object
- Object
- Bio::NeXML::Row
- Includes:
- Mapper
- Defined in:
- lib/bio/db/nexml/matrix.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
A file level unique identifier.
-
#label ⇒ Object
A human readable description.
Instance Method Summary collapse
-
#initialize(id, options = {}) ⇒ Row
constructor
A new instance of Row.
Methods included from Mapper
Constructor Details
#initialize(id, options = {}) ⇒ Row
Returns a new instance of Row.
657 658 659 660 661 |
# File 'lib/bio/db/nexml/matrix.rb', line 657 def initialize( id, = {} ) @id = id properties( ) unless .empty? block.arity < 1 ? instance_eval( &block ) : block.call( self ) if block_given? end |
Instance Attribute Details
#id ⇒ Object
A file level unique identifier.
648 649 650 |
# File 'lib/bio/db/nexml/matrix.rb', line 648 def id @id end |
#label ⇒ Object
A human readable description.
651 652 653 |
# File 'lib/bio/db/nexml/matrix.rb', line 651 def label @label end |