Module: FileMutate::InsertContent

Defined in:
lib/file_mutate/insert_content.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#insert(*args, &block) ⇒ Object



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

def insert *args, &block
  File.insert_into self.path, *args, &block
end