lib/split/extensions/string.rb in split-0.6.5 vs lib/split/extensions/string.rb in split-0.6.6

- old
+ new

@@ -1,6 +1,6 @@ class String - # Constatntize is often provided by ActiveSupport, but ActiveSupport is not a dependency of Split. + # Constatntize is often provided by ActiveSupport, but ActiveSupport is not a dependency of Split. unless method_defined?(:constantize) def constantize names = self.split('::') names.shift if names.empty? || names.first.empty? \ No newline at end of file