Class: Bio::Pipengine::Sample
- Inherits:
-
Object
- Object
- Bio::Pipengine::Sample
- Defined in:
- lib/bio/pipengine/sample.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Sample holds all the information on a sample and its original input path (or multiple paths).
-
#path ⇒ Object
Sample holds all the information on a sample and its original input path (or multiple paths).
Instance Method Summary collapse
-
#initialize(name, path_string) ⇒ Sample
constructor
A new instance of Sample.
Constructor Details
#initialize(name, path_string) ⇒ Sample
Returns a new instance of Sample.
6 7 8 9 |
# File 'lib/bio/pipengine/sample.rb', line 6 def initialize(name,path_string) @path = path_string.split(",") @name = name end |
Instance Attribute Details
#name ⇒ Object
Sample holds all the information on a sample and its original input path (or multiple paths)
5 6 7 |
# File 'lib/bio/pipengine/sample.rb', line 5 def name @name end |
#path ⇒ Object
Sample holds all the information on a sample and its original input path (or multiple paths)
5 6 7 |
# File 'lib/bio/pipengine/sample.rb', line 5 def path @path end |