Class: Table

Inherits:
Object
  • Object
show all
Defined in:
lib/table.rb

Instance Method Summary (collapse)

Constructor Details

- (Table) initialize(xsize, ysize = 1, zsize = 1)

Returns a new instance of Table



3
4
5
# File 'lib/table.rb', line 3

def initialize(xsize, ysize = 1, zsize = 1)
  fail NotImplementedError
end

Instance Method Details

- (Object) [](x, y = 0, z = 0)



23
24
25
# File 'lib/table.rb', line 23

def [](x, y = 0, z = 0)
  fail NotImplementedError
end

- (Object) []=(x, y = 0, z = 0, value = nil)



27
28
29
# File 'lib/table.rb', line 27

def []=(x, y = 0, z = 0, value = nil)
  fail NotImplementedError
end

- (Object) resize(xsize, ysize = nil, zsize = nil)



7
8
9
# File 'lib/table.rb', line 7

def resize(xsize, ysize = nil, zsize = nil)
  fail NotImplementedError
end

- (Object) xsize



11
12
13
# File 'lib/table.rb', line 11

def xsize
  fail NotImplementedError
end

- (Object) ysize



15
16
17
# File 'lib/table.rb', line 15

def ysize
  fail NotImplementedError
end

- (Object) zsize



19
20
21
# File 'lib/table.rb', line 19

def zsize
  fail NotImplementedError
end