Sha256: aaa417036ab640f960d30dadbcd4682091672c994f5c1a8e8c54e8376699d3dd
Contents?: true
Size: 316 Bytes
Versions: 107
Compression:
Stored size: 316 Bytes
Contents
module Cairo class Pattern class << self def supported?(type) type = type.to_s.gsub(/([a-z])([A-Z])/, '\\1_\\2').downcase supported_predicate = "#{type}_supported?" return false unless respond_to?(supported_predicate) send(supported_predicate) end end end end
Version data entries
107 entries across 99 versions & 2 rubygems