Method: Bcpm::Match.write_build
- Defined in:
- lib/bcpm/match.rb
.write_build(buildfile, conffile) ⇒ Object
Writes a patched buildfile that references the given configuration file.
144 145 146 147 |
# File 'lib/bcpm/match.rb', line 144 def self.write_build(buildfile, conffile) contents = Bcpm::Player.ant_config conffile File.open(buildfile, 'wb') { |f| f.write contents } end |