Skip to content

Commit 60838a0

Browse files
committed
avoid private attribute? warning
1 parent 2cebe0c commit 60838a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/thor/actions/file_manipulation.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,9 @@ def remove_file(path, config={})
293293
end
294294
alias :remove_dir :remove_file
295295

296-
private
297-
attr_accessor :output_buffer
296+
attr_accessor :output_buffer
297+
298+
private :output_buffer
298299
def concat(string)
299300
@output_buffer.concat(string)
300301
end

0 commit comments

Comments
 (0)