Sha256: 3cdbebe2d6ec526925a07e9796e5350f5765d699e5203ad1d222cc333c5d0aa1
Contents?: true
Size: 416 Bytes
Versions: 35
Compression:
Stored size: 416 Bytes
Contents
module Evertils module Helper def self.load(klass, *args) begin klass_instance = Evertils::Helper.const_get(klass) if klass_instance if args.empty? klass_instance.new else klass_instance.new(args) end end rescue => e Notify.error("#{e}\n#{e.backtrace.join("\n")}", show_time: false) end end end end
Version data entries
35 entries across 35 versions & 1 rubygems