Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Un/bound methods and proxy method as a symbol for column format
This allows to write something akin to format: String.instance_method(:to_json) or format: :json class MyTabulatrData < Tabulatr::Data ... # define_singleton_method(:json) {|x| x&.to_json} class << self # Formatter for a column def json(x) x&.to_json end end end
- Loading branch information