Method: Filepath::ContentChanges#truncate

Defined in:
lib/filepath/filepath.rb

#truncate(*args) ⇒ Object



904
905
906
907
908
909
910
# File 'lib/filepath/filepath.rb', line 904

def truncate(*args)
	if args.empty?
		args << 0
	end

	file_truncate(*args)
end