class SimpleBioC::Collection

Attributes

date[RW]
documents[RW]
infons[RW]
key[RW]
source[RW]

Public Class Methods

new() click to toggle source
# File lib/simple_bioc/collection.rb, line 5
def initialize
  @documents = []
  @infons = {}
  @source = ""
  @date = ""
  @key = ""
end

Public Instance Methods

to_c() click to toggle source
# File lib/simple_bioc/collection.rb, line 13
def to_c
  "Collection(source: #{source}, date: #{date}, key: #{key})"
end