Method: Juici::Build#build!
- Defined in:
- lib/juici/models/build.rb
#build! ⇒ Object
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/juici/models/build.rb', line 62 def build! case pid = spawn_build when Fixnum start! Juici.dbgp "#{pid} away!" self[:pid] = pid self[:buffer] = @buffer.path save! return pid when :enoent warn! "No such command" failure! when :invalidcommand warn! "Invalid command" failure! end nil end |