mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-16 09:59:39 +08:00
support nested directory
* https://github.com/HipByte/RubyMotion/pull/144#issuecomment-29203864
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user