Class: TCGA::Sample
- Inherits:
-
Object
- Object
- TCGA::Sample
- Defined in:
- lib/tcga.rb
Instance Attribute Summary collapse
-
#barcode ⇒ Object
readonly
Returns the value of attribute barcode.
-
#cancer_type ⇒ Object
readonly
Returns the value of attribute cancer_type.
Instance Method Summary collapse
-
#initialize(barcode, cancer_type) ⇒ Sample
constructor
A new instance of Sample.
Constructor Details
#initialize(barcode, cancer_type) ⇒ Sample
Returns a new instance of Sample.
10 11 12 13 |
# File 'lib/tcga.rb', line 10 def initialize , cancer_type @barcode = @cancer_type = cancer_type end |
Instance Attribute Details
#barcode ⇒ Object (readonly)
Returns the value of attribute barcode.
9 10 11 |
# File 'lib/tcga.rb', line 9 def @barcode end |
#cancer_type ⇒ Object (readonly)
Returns the value of attribute cancer_type.
9 10 11 |
# File 'lib/tcga.rb', line 9 def cancer_type @cancer_type end |