Module: Coopy::Table
- Included in:
- CsvTable, SimpleTable
- Defined in:
- lib/coopy/table.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
integer.
-
#width ⇒ Object
readonly
integer.
Instance Method Summary collapse
- #clear ⇒ Object
- #get_cell(x, y) ⇒ Object
- #get_cell_view ⇒ Object
- #insert_or_delete_columns(fate, wfate) ⇒ Object
- #insert_or_delete_rows(fate, hfate) ⇒ Object
- #is_resizable? ⇒ Boolean
- #resize(w, h) ⇒ Object
- #set_cell(x, y, cell) ⇒ Object
- #trim_blank ⇒ Object
Instance Attribute Details
#height ⇒ Object (readonly)
integer
4 5 6 |
# File 'lib/coopy/table.rb', line 4 def height @height end |
#width ⇒ Object (readonly)
integer
5 6 7 |
# File 'lib/coopy/table.rb', line 5 def width @width end |
Instance Method Details
#clear ⇒ Object
27 28 29 |
# File 'lib/coopy/table.rb', line 27 def clear raise NotImplementedError end |
#get_cell(x, y) ⇒ Object
7 8 9 |
# File 'lib/coopy/table.rb', line 7 def get_cell(x, y) raise NotImplementedError end |
#get_cell_view ⇒ Object
15 16 17 |
# File 'lib/coopy/table.rb', line 15 def get_cell_view raise NotImplementedError end |
#insert_or_delete_columns(fate, wfate) ⇒ Object
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
31 32 33 |
# File 'lib/coopy/table.rb', line 31 def insert_or_delete_rows(fate, hfate) raise NotImplementedError end |
#is_resizable? ⇒ Boolean
19 20 21 |
# File 'lib/coopy/table.rb', line 19 def is_resizable? raise NotImplementedError end |
#resize(w, h) ⇒ Object
23 24 25 |
# File 'lib/coopy/table.rb', line 23 def resize(w, h) raise NotImplementedError end |
#set_cell(x, y, cell) ⇒ Object
11 12 13 |
# File 'lib/coopy/table.rb', line 11 def set_cell(x, y, cell) raise NotImplementedError end |
#trim_blank ⇒ Object
39 40 41 |
# File 'lib/coopy/table.rb', line 39 def trim_blank raise NotImplementedError end |