support nested directory

* https://github.com/HipByte/RubyMotion/pull/144#issuecomment-29203864
This commit is contained in:
toshiwo
2013-11-25 23:18:57 +09:00
committed by Watson
parent 21574894d6
commit 0ba40abcb6

View File

@@ -119,7 +119,7 @@ module Motion; module Project
end
def replace_file_name(file_name)
file_name = file_name.sub("{name}", "#{@name}")
file_name = file_name.gsub("{name}", "#{@name}")
file_name
end