lib/csl/extensions.rb in csl-1.1.0 vs lib/csl/extensions.rb in csl-1.2.0
- old
+ new
@@ -12,11 +12,11 @@
inject({}) do |options, (key, value)|
options[(key.to_sym rescue key) || key] = value
options
end
end
-
+
def symbolize_keys!
replace(symbolize_keys)
end
end
@@ -50,13 +50,9 @@
end
class Hash
include CSL::Extensions::SymbolizeKeys unless method_defined?(:symbolize_keys)
include CSL::Extensions::StringifyKeys unless method_defined?(:stringify_keys)
-end
-
-class Module
- include CSL::Extensions::Nesting
end
class Object
include CSL::Extensions::Blank unless method_defined?(:blank?)
end