Sha256: 276ab71968a138b1741c4b9d4f8733194da00f4a4215e0e14d22b3eb4a4c5344

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

module Wiris
  class Type
    def self.resolveClass(name)
      name = name.to_s
      name = name.split(".").last
      return Object.const_get("Wiris::" + name)
      rescue Exception => exc
        return nil
    end

    def self.getClass(o)
      return o.class.name
    end

    def self.createInstance(cls, args)
      return cls.new()
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wirispluginengine-3.62.0.1322 lib/src-generic/Type.rb