Sha256: 954f24e6137d1eaad74dddcfd4373685a7251b30d2c1210724a6730e70e28a5e
Contents?: true
Size: 236 Bytes
Versions: 22
Compression:
Stored size: 236 Bytes
Contents
class String def deep_const_get result = nil path = self.clone.split("::") path.each do |p| result = (result || Kernel).const_get(p) end result end def is_integer? self.to_i.to_s == self end end
Version data entries
22 entries across 22 versions & 3 rubygems