diff options
Diffstat (limited to 'code/extensions')
-rw-r--r-- | code/extensions/basic.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/extensions/basic.rb b/code/extensions/basic.rb index 89798ba5..b04dc71d 100644 --- a/code/extensions/basic.rb +++ b/code/extensions/basic.rb @@ -152,8 +152,8 @@ class File::Stat end s = ("%o" % mode)[-3..-1] - for m in s.each_byte - result << MODES_HASH[m] + for m in s.each_byte do + result << MODES_HASH[m.chr] end result |