method
new_with_value_if_need
new_with_value_if_need(klass, value)
public
If value is an instance of class klass, return it, else create a new instance of klass with value value.
new_with_value_if_need(klass, value)
public
If value is an instance of class klass, return it, else create a new instance of klass with value value.