class Bio::DB::Primer3::Primer

Attributes

pair[RW]

Public Class Methods

new() click to toggle source
# File lib/bio/db/primer3.rb, line 668
def initialize
  @values = Hash.new
end

Public Instance Methods

method_missing(m, *args, &block) click to toggle source
# File lib/bio/db/primer3.rb, line 672
def method_missing(m, *args, &block)
  return @values[m.to_s] if @values[m.to_s] != nil
  raise NoMethodError.new(), "There's no method called #{m}, available: #{@values.keys.to_s}."  
end
set_value(key, value) click to toggle source
# File lib/bio/db/primer3.rb, line 677
def set_value(key, value)
  @values[key] = value
end