Sha256: 215899d152ad6cdaa1e3799fe10c29ef40fe3cfe67d342b0e029d31afea4f7b6

Contents?: true

Size: 272 Bytes

Versions: 11

Compression:

Stored size: 272 Bytes

Contents

module Ms ; end
module Ms::Id ; end

module Ms::Id::Protein
  
  class << self
  end

  # gives the information up until the first space or carriage return.
  # Assumes the protein can respond_to? :reference
  def first_entry
    reference.split(/[\s\r]/)[0]
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ms-core-0.0.13 lib/ms/id/protein.rb
ms-core-0.0.12 lib/ms/id/protein.rb
ms-core-0.0.11 lib/ms/id/protein.rb
ms-core-0.0.10 lib/ms/id/protein.rb
ms-core-0.0.9 lib/ms/id/protein.rb
ms-core-0.0.7 lib/ms/id/protein.rb
ms-core-0.0.6 lib/ms/id/protein.rb
ms-core-0.0.5 lib/ms/id/protein.rb
ms-core-0.0.4 lib/ms/id/protein.rb
ms-core-0.0.2 lib/ms/id/protein.rb
ms-core-0.0.1 lib/ms/id/protein.rb