Method: Path#append

Defined in:
lib/path/io.rb,
lib/path/io.rb

#append(contents, *open_args) ⇒ Object

Appends contents to self. See IO.write or IO#write.



69
70
71
72
# File 'lib/path/io.rb', line 69

def append(contents, **open_args)
  open_args[:mode] = 'a'
  IO.write(@path, contents, **open_args)
end