class GENOME::Genotype

Attributes

genotype[RW]

Public Class Methods

new(genotype) click to toggle source
# File lib/genome/genotype.rb, line 4
def initialize(genotype)
  @genotype = genotype
end

Public Instance Methods

==(other) click to toggle source
# File lib/genome/genotype.rb, line 12
def ==(other)
  @genotype == other.genotype
end
to_s() click to toggle source
# File lib/genome/genotype.rb, line 8
def to_s
  genotype
end