Module: FileMutate::AppendContent

Defined in:
lib/file_mutate/append_content.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#append(content = nil, &block) ⇒ Object



3
4
5
# File 'lib/file_mutate/append_content.rb', line 3

def append content=nil, &block
  File.append self.path, content, &block
end