Module: BioVcf::VcfSample
- Defined in:
- lib/bio-vcf/vcfsample.rb
Defined Under Namespace
Classes: Sample
Class Method Summary collapse
-
.empty?(s) ⇒ Boolean
Check whether a sample is empty (on the raw string value).
Class Method Details
.empty?(s) ⇒ Boolean
Check whether a sample is empty (on the raw string value)
5 6 7 |
# File 'lib/bio-vcf/vcfsample.rb', line 5 def VcfSample::empty? s s==nil or s == './.' or s == '' or s[0..2]=='./.' end |