module Phlex::Table
def head_template
def head_template if self.class.properties.any? { |p| p[:header] } head do head_row do self.class.properties.each do |property| case property[:header] when Proc instance_exec(&property[:header]) when Symbol send(property[:header]) end end end end end end