class TablePrint::Fingerprinter
def display_methods_to_nested_hash(display_methods)
def display_methods_to_nested_hash(display_methods) extended_hash = {}.extend TablePrint::HashExtensions::ConstructiveMerge # turn each column chain into a nested hash and add it to the output display_methods.inject(extended_hash) do |hash, display_method| hash.constructive_merge!(display_method_to_nested_hash(display_method)) end end