module Laboratory::Algorithms

Constants

ALGORITHMS

Public Class Methods

to_class(algorithm_id) click to toggle source
# File lib/laboratory/algorithms.rb, line 7
def self.to_class(algorithm_id)
  ALGORITHMS.find { |algorithm_class| algorithm_class.id == algorithm_id }
end