From: Suraj Kurapati Date: 2010-05-25T15:15:21+09:00 Subject: [ruby-core:30411] [Feature #2190] FileUtils::chmod - allow symbolic mode Issue #2190 has been updated by Suraj Kurapati. Thanks for your patch, takkanm! I hope the Ruby developers will accept it into Ruby trunk. I have one small suggestion for you: def fu_mode(mode, path) - mode.class == String ? symbolic_modes_to_i(mode, path) : mode + mode.is_a?(String) ? symbolic_modes_to_i(mode, path) : mode end Greetings. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2190 ---------------------------------------- http://redmine.ruby-lang.org