fix rubocop

This commit is contained in:
Pete Matsyburka
2026-04-02 12:48:28 +03:00
parent bd7ad5fce8
commit eaedaa96bb
22 changed files with 37 additions and 28 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ module Templates
module DetectFields
module_function
TextFieldBox = Struct.new(:x, :y, :w, :h, keyword_init: true) do
TextFieldBox = Struct.new(:x, :y, :w, :h) do
def endy
@endy ||= y + h
end
@@ -14,7 +14,7 @@ module Templates
end
end
PageNode = Struct.new(:prev, :next, :elem, :page, :attachment_uuid, keyword_init: true)
PageNode = Struct.new(:prev, :next, :elem, :page, :attachment_uuid)
DATE_REGEXP = /
(?: