Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/bioinform/support/strip_doc.rb

Instance Method Summary collapse

Instance Method Details

#strip_docObject



6
7
8
# File 'lib/bioinform/support/strip_doc.rb', line 6

def strip_doc
  gsub(/^#{self[/\A +/]}/,'')
end