From: "Mr. Bill" Date: 2011-01-15T23:06:23+09:00 Subject: what's the difference between these two snippets of ruby? Sorry I couldn't help the line wrapping. Thanks in advance. parent_path = File.expand_path(config['parent'], File.dirname(yaml_path)).gsub('${project_dir}', PROJECT_ROOT) config['parent'].gsub!("${project_dir}", PROJECT_ROOT) parent_path = File.expand_path(config['parent'], File.dirname(yaml_path)) -- Posted via http://www.ruby-forum.com/.