Sha256: 78b66389fc51bb07fb6581ee72975c3c5fe7df18a8b59a394fe10227d005f9c5
Contents?: true
Size: 241 Bytes
Versions: 8
Compression:
Stored size: 241 Bytes
Contents
module Laboratory module Algorithms ALGORITHMS = [ Laboratory::Algorithms::Random ].freeze def self.to_class(algorithm_id) ALGORITHMS.find { |algorithm_class| algorithm_class.id == algorithm_id } end end end
Version data entries
8 entries across 8 versions & 1 rubygems