add stamp field type

This commit is contained in:
Pete Matsyburka
2023-12-22 13:33:53 +02:00
parent 2562c4f432
commit e89b42de40
12 changed files with 151 additions and 16 deletions
+15 -3
View File
@@ -9,14 +9,26 @@ module PdfIcons
module_function
def check_io
@check_io ||= StringIO.new(PATH.join('check.png').read)
StringIO.new(check_data)
end
def paperclip_io
@paperclip_io ||= StringIO.new(PATH.join('paperclip.png').read)
StringIO.new(paperclip_data)
end
def logo_io
@logo_io ||= StringIO.new(PATH.join('logo.png').read)
StringIO.new(logo_data)
end
def check_data
@check_data ||= PATH.join('check.png').read
end
def paperclip_data
@paperclip_data ||= PATH.join('paperclip.png').read
end
def logo_data
@logo_data ||= PATH.join('logo.png').read
end
end