From d64da655e7f9e96c39d9af0f853e2bd8c32ddaa9 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Tue, 20 Apr 2021 12:27:03 +0100 Subject: [PATCH] feat: add Record#display_content --- lib/dennis/record.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dennis/record.rb b/lib/dennis/record.rb index de1c1be..899e9ea 100644 --- a/lib/dennis/record.rb +++ b/lib/dennis/record.rb @@ -145,6 +145,10 @@ def raw_content @hash['raw_content'] end + def display_content + @hash['display_content'] + end + def content return nil if type.nil?