Class: Cluster
- Inherits:
-
Struct
- Object
- Struct
- Cluster
- Defined in:
- lib/bio-cd-hit-report/cluster.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
1 2 3 |
# File 'lib/bio-cd-hit-report/cluster.rb', line 1 def data @data end |
#name ⇒ Object
Returns the value of attribute name
1 2 3 |
# File 'lib/bio-cd-hit-report/cluster.rb', line 1 def name @name end |
Instance Method Details
#id ⇒ Object
4 5 6 |
# File 'lib/bio-cd-hit-report/cluster.rb', line 4 def id name end |
#members ⇒ Object
12 13 14 |
# File 'lib/bio-cd-hit-report/cluster.rb', line 12 def members entries.join(',') end |
#size ⇒ Object
8 9 10 |
# File 'lib/bio-cd-hit-report/cluster.rb', line 8 def size entries.size end |