Skip to content

Commit 8bfb41e

Browse files
committed
Merge pull request #323 from railsaholic/remove_private_attribute_warning
Avoid 'warning: private attribute? '
2 parents 2cebe0c + 60838a0 commit 8bfb41e

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)