lib/rest-ftp-daemon/helpers/common.rb in rest-ftp-daemon-0.410.2 vs lib/rest-ftp-daemon/helpers/common.rb in rest-ftp-daemon-0.410.4
- old
+ new
@@ -28,16 +28,10 @@
tr("-", "_").
downcase
end
def exception_to_error exception
- underscore exception.class.name.split('::').last
+ underscore 'err_' + exception.class.name.split('::').last
end
-
- # Dates and times: date with time generator
- # def datetime_full datetime
- # return "-" if datetime.nil?
- # datetime.to_datetime.strftime("%d.%m.%Y %H:%M:%S")
- # end
end
end