Methods
Public Class methods
[ show source ]
# File lib/facets/more/typecast.rb, line 153 def cast_from(object) return super rescue TypeCastException return object.to_f if object.respond_to? :to_f raise end
Public Instance methods
[ show source ]
# File lib/facets/more/json.rb, line 590 def to_json(*) to_s end