method
coerce_to
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: CoercionHelper
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180 (0)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- What's this?
coerce_to(obj, cls, meth)
public
Helper method to coerce a value into a specific class. Raises a TypeError if the coercion fails or the returned value is not of the right class. (from Rubinius)


