Method: Cuboid::Support::Buffer::Base#size

Defined in:
lib/cuboid/support/buffer/base.rb

#sizeInteger

Returns Number of object in the buffer.

Returns:

  • (Integer)

    Number of object in the buffer.



62
63
64
# File 'lib/cuboid/support/buffer/base.rb', line 62

def size
    @buffer.size
end