new_with_value_if_need(klass, value)
Instance Public methods
If value
is an instance of class klass
, return
it, else create a new instance of klass
with value
value
.
If value
is an instance of class klass
, return
it, else create a new instance of klass
with value
value
.
Please login to continue.