lib/table_cloth/column.rb in table_cloth-0.2.3 vs lib/table_cloth/column.rb in table_cloth-0.3.0.beta1

- old
+ new

@@ -16,19 +16,7 @@ end def human_name options[:label] || name.to_s.humanize end - - def available?(table) - if options[:if] && options[:if].is_a?(Symbol) - return !!table.send(options[:if]) - end - - if options[:unless] && options[:unless].is_a?(Symbol) - return !table.send(options[:unless]) - end - - true - end end end \ No newline at end of file