class TablePrint::Fingerprinter
def display_method_to_nested_hash(display_method)
def display_method_to_nested_hash(display_method) hash = {} return {display_method => {}} if display_method.is_a? Proc display_method.split(".").inject(hash) do |hash_level, method| hash_level[method] ||= {} end hash end