Sunday, March 4, 2018

Ruby Class Manipulation & Reflection



Ruby Class Functions Verify the class of a Ruby object obj.instance_of? String # Check if "obj" is a String obj.class == String # Same as above obj.is_a? Numeric # Check if "obj" is a Numeric or its sub-type obj.

No comments:

bundlephobia

JavaScript bloat is a more real problem today than it ever was. Bundlephobia lets you understand the performance cost of adding a npm pack...