lib/lookbook/utils.rb in lookbook-3.0.0.alpha.1 vs lib/lookbook/utils.rb in lookbook-3.0.0.alpha.2
- old
+ new
@@ -73,8 +73,12 @@
obj.map { deep_camelize_keys(_1) }
else
obj
end
end
+
+ def gem_installed?(name)
+ Gem.loaded_specs.has_key?(name)
+ end
end
end
end