Exception: Uttk::FailStatus

Inherits:
Status show all
Includes:
Concrete
Defined in:
lib/uttk/status.rb

Instance Attribute Summary

Attributes inherited from Status

#reason, #weight

Instance Method Summary collapse

Methods inherited from Status

default_weight, hook_name, #pass?, status_name, #to_s, #to_uttk_log

Methods inherited from Exception

#to_uttk_log

Constructor Details

#initialize(aWeight = nil, anObject = nil) ⇒ FailStatus

Returns a new instance of FailStatus.



135
136
137
138
# File 'lib/uttk/status.rb', line 135

def initialize ( aWeight=nil, anObject=nil )
  super(anObject)
  @weight = aWeight unless aWeight.nil?
end

Instance Method Details

#hook_nameObject



140
141
142
# File 'lib/uttk/status.rb', line 140

def hook_name
  :failed_hook
end