Class: Buildbox::Build

Inherits:
Hashie::Mash
  • Object
show all
Defined in:
lib/buildbox/build.rb

Instance Method Summary collapse

Instance Method Details

#finished?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/buildbox/build.rb', line 14

def finished?
  exit_status != nil
end

#started?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/buildbox/build.rb', line 10

def started?
  output.kind_of?(String) && output.length > 0
end

#success?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/buildbox/build.rb', line 6

def success?
  exit_status == 0
end