module Straight::Blockchain

Public Class Methods

const_missing(name) click to toggle source

Look for the adapter without namespace if not found it in a specific module @return nil

# File lib/straight/blockchain_adapter.rb, line 46
def self.const_missing(name)
  Kernel.const_get(name)
rescue NameError
  puts "WARNING: No blockchain adapter with the name #{name.to_s} was found!"
  nil
end