Skip to content

Commit 30e2a8e

Browse files
小野 直人ko1
authored andcommitted
Change the method name from content_with_module to create_initialized_content
1 parent 24fd104 commit 30e2a8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tool/test_builder.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def line_num_temp(indent_num, index, line)
186186
"#{' ' * indent_num}#{index + 2}| #{line}"
187187
end
188188

189-
def content_with_module
189+
def create_initialized_content
190190
<<~TEST
191191
# frozen_string_literal: true
192192
@@ -216,7 +216,7 @@ def create_file
216216
if content
217217
puts "appended: #{path}"
218218
else
219-
content = content_with_module
219+
content = create_initialized_content
220220
puts "created: #{path}"
221221
puts " class: #{@class}"
222222
end

0 commit comments

Comments
 (0)