lib/ui_bibz/ui/ux/tables/table.rb in ui_bibz-3.0.13 vs lib/ui_bibz/ui/ux/tables/table.rb in ui_bibz-4.0.0.beta3
- old
+ new
@@ -94,23 +94,23 @@
# end
# end
# end
class Table < UiBibz::Ui::Core::Component
# See UiBibz::Ui::Core::Component.initialize
- def initialize(content = nil, options = nil, html_options = nil, &block)
+ def initialize(...)
super
@columns = Columns.new
@actions = Actions.new store
end
# Add table columns items
- def columns(&block)
- @columns.tap(&block)
+ def columns(&)
+ @columns.tap(&)
end
# Add table actions items
- def actions(&block)
- @actions.tap(&block)
+ def actions(&)
+ @actions.tap(&)
end
# for test
def actions_list
@actions