Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/bashly/extensions/file.rb
Class Method Summary collapse
Class Method Details
.append(path, content) ⇒ Object
10 11 12 |
# File 'lib/bashly/extensions/file.rb', line 10 def self.append(path, content) File.open(path, 'a') { |f| f << content } end |