Class: TTK::SkipStatus

Inherits:
StatusWithMessage show all
Includes:
Concrete
Defined in:
lib/ttk/status.rb

Constant Summary collapse

DEFAULT_WEIGHT =
:FAIL

Instance Attribute Summary

Attributes inherited from StatusWithMessage

#message

Attributes inherited from Status

#weight

Instance Method Summary collapse

Methods inherited from StatusWithMessage

#to_ttk_log

Methods inherited from Status

default_weight_value, #exception, hook_name, #hook_name, #pass?, status_name, #to_s, #to_ttk_log

Constructor Details

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

Returns a new instance of SkipStatus.



115
116
117
118
# File 'lib/ttk/status.rb', line 115

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