Flowdock
method

coerce_to

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: CoercionHelper
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)

Show source
Register or log in to add new notes.