# File lib/table_print/fingerprinter.rb, line 82 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