Method: Uttk::Status#initialize
- Defined in:
- lib/uttk/status.rb
#initialize(anObject = nil) ⇒ Status
Returns a new instance of Status.
32 33 34 35 36 |
# File 'lib/uttk/status.rb', line 32 def initialize ( anObject=nil ) super() @reason = anObject || default_reason @weight = default_weight_value end |