Module: FileMutate::ReplaceContent

Defined in:
lib/file_mutate/replace_content.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#replace_content(options = {}, &block) ⇒ Object



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

def replace_content options = {}, &block
  File.replace_content_from self.path, options, &block
end