Sha256: 472d575afceaa5a4e4d2434db9b01d5a2de0015bb280701cd533a3574a65cb5f
Contents?: true
Size: 393 Bytes
Versions: 31
Compression:
Stored size: 393 Bytes
Contents
module Granify module Helper def self.load(klass, args = nil) begin klass_instance = Granify::Helper.const_get(klass.capitalize) if klass_instance if args.nil? klass_instance.new else klass_instance.new(args) end end rescue => e Notify.error(e.message) end end end end
Version data entries
31 entries across 31 versions & 2 rubygems