Skip to content

Commit fc94521

Browse files
Merge pull request #325 from vipulnsward/fix_attr_warn
refactor fix private attribute warning
2 parents 8bfb41e + 1394364 commit fc94521

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/thor/actions/file_manipulation.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,10 @@ def remove_file(path, config={})
294294
alias :remove_dir :remove_file
295295

296296
attr_accessor :output_buffer
297+
private :output_buffer, :output_buffer=
298+
299+
private
297300

298-
private :output_buffer
299301
def concat(string)
300302
@output_buffer.concat(string)
301303
end

0 commit comments

Comments
 (0)