Class: Tableview::ViewHandler
- Inherits:
-
Object
- Object
- Tableview::ViewHandler
- Defined in:
- lib/tableview/view_handler.rb
Defined Under Namespace
Classes: Body, Cell, Footer, Header, Part, Row, Table, TablePiece
Instance Attribute Summary collapse
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Class Method Summary collapse
Instance Attribute Details
#table ⇒ Object (readonly)
Returns the value of attribute table.
7 8 9 |
# File 'lib/tableview/view_handler.rb', line 7 def table @table end |
Class Method Details
.dsl(opts = {}) {|ret| ... } ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/tableview/view_handler.rb', line 9 def self.dsl(opts = {}, &block) ret = Table.new opts #ret.instance_eval &block yield(ret) ret.create_table! ret end |