wedesoft (Jan Wedekind)
- Login: wedesoft
- Registered on: 02/10/2009
- Last sign in: 10/30/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
10/31/2012
-
12:58 AM Ruby Bug #7246: FileUtils.cp_r does not preserve attributes of directories
- The following code might be a proper bugfix.
(({require 'fileutils'
module FileUtils
class Entry_
def wrap_traverse(pre, post)
pre.call self
if directory?
entries.each do |ent|
ent.wrap... -
12:42 AM Ruby Bug #7246 (Closed): FileUtils.cp_r does not preserve attributes of directories
- (({FileUtils.cp_r})) does not preserve the file attributes of directories because the attributes are set before copying to the directory.
The following monkey patch fixes this behaviour. However the monkey patch relies on the contents o...
02/10/2009
-
11:00 PM Ruby Bug #1135 (Closed): Problem renaming CMath.hypot in Ruby1.9
- =begin
# Running the following program with Ruby1.9 ...
require 'complex'
class Module
def alias_method_chain( target, feature )
alias_method "#{target}_without_#{feature}", target
alias_method target, "#{target}_...