Class: Table

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

Instance Method Summary collapse

Constructor Details

#initialize(xsize, ysize = 1, zsize = 1) ⇒ Table

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

#[](x, y = 0, z = 0) ⇒ Object



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

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

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



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

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

#resize(xsize, ysize = nil, zsize = nil) ⇒ Object



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

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

#xsizeObject



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

def xsize
  fail NotImplementedError
end

#ysizeObject



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

def ysize
  fail NotImplementedError
end

#zsizeObject



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

def zsize
  fail NotImplementedError
end