Sha256: fcc85fcf898ea1747d2ff44fddab1200b631bd6e7302f621ea855bcad4bceeba

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

require 'narray'

class NArray
  def type
    case typecode
    when 1 then :byte
    when 2 then :sint
    when 3 then :int
    when 4 then :sfloat
    when 5 then :float
    when 6 then :scomplex
    when 7 then :complex
    when 8 then :object
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta3 lib/ext/narray_ext.rb
ffi-gdal-1.0.0.beta1 lib/ext/narray_ext.rb