Sha256: 101962b08636458ed99270534a2ae53b49c6d28a3214954671b14d4ec5f000c4
Contents?: true
Size: 208 Bytes
Versions: 7
Compression:
Stored size: 208 Bytes
Contents
ComplexStruct = Struct.new(:args) def Complex(*args) ComplexStruct.new(args) end # In Opal 0.9 unless Object.const_defined?(:Math) && Object.const_defined?(:PI) module Math PI = `Math.PI` end end
Version data entries
7 entries across 7 versions & 2 rubygems