Exception: Autobuild::Subprocess::Failed

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/autobuild/subcommand.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, do_retry) ⇒ Failed

Returns a new instance of Failed.



161
162
163
164
165
# File 'lib/autobuild/subcommand.rb', line 161

def initialize(status, do_retry)
    @status = status
    @retry = do_retry
    super()
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



155
156
157
# File 'lib/autobuild/subcommand.rb', line 155

def status
  @status
end

Instance Method Details

#retry?Boolean

Returns:

  • (Boolean)


157
158
159
# File 'lib/autobuild/subcommand.rb', line 157

def retry?
    @retry
end