module Nicehash::Algo::ModuleMethods
Public Instance Methods
all()
click to toggle source
# File lib/nicehash/algo.rb, line 38 def all ALL end
from_id(id)
click to toggle source
# File lib/nicehash/algo.rb, line 42 def from_id(id) ALL[id] end
to_id(algo)
click to toggle source
# File lib/nicehash/algo.rb, line 46 def to_id(algo) ALL.find_index(algo) end