Module: Coopy::Table

Included in:
CsvTable, SimpleTable
Defined in:
lib/coopy/table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#heightObject (readonly)

integer



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

def height
  @height
end

#widthObject (readonly)

integer



5
6
7
# File 'lib/coopy/table.rb', line 5

def width
  @width
end

Instance Method Details

#clearObject

Raises:

  • (NotImplementedError)


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

def clear 
  raise NotImplementedError
end

#get_cell(x, y) ⇒ Object

Raises:

  • (NotImplementedError)


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

def get_cell(x, y) 
  raise NotImplementedError
end

#get_cell_viewObject

Raises:

  • (NotImplementedError)


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

def get_cell_view
  raise NotImplementedError
end

#insert_or_delete_columns(fate, wfate) ⇒ Object

Raises:

  • (NotImplementedError)


35
36
37
# File 'lib/coopy/table.rb', line 35

def insert_or_delete_columns(fate, wfate) 
  raise NotImplementedError
end

#insert_or_delete_rows(fate, hfate) ⇒ Object

Raises:

  • (NotImplementedError)


31
32
33
# File 'lib/coopy/table.rb', line 31

def insert_or_delete_rows(fate, hfate) 
  raise NotImplementedError
end

#is_resizable?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


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

def is_resizable? 
  raise NotImplementedError
end

#resize(w, h) ⇒ Object

Raises:

  • (NotImplementedError)


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

def resize(w, h) 
  raise NotImplementedError
end

#set_cell(x, y, cell) ⇒ Object

Raises:

  • (NotImplementedError)


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

def set_cell(x, y, cell) 
  raise NotImplementedError
end

#trim_blankObject

Raises:

  • (NotImplementedError)


39
40
41
# File 'lib/coopy/table.rb', line 39

def trim_blank 
  raise NotImplementedError
end