Module: SGC::Memory::IBuffer::ClassMethods

Defined in:
lib/memory/interface/ibuffer.rb

Overview

A set of methods automatically extended by the classes which include IBuffer.

Instance Method Summary collapse

Instance Method Details

#element_size(type) ⇒ Integer

Returns The size of an element of type.

Raises:

  • (NotImplementedError)


52
# File 'lib/memory/interface/ibuffer.rb', line 52

def element_size(type); raise NotImplementedError; end