lib/inflectious.rb in inflectious-0.1.0 vs lib/inflectious.rb in inflectious-0.2.0
- old
+ new
@@ -1,23 +1,6 @@
-module ActiveSupport
- module Inflector
- class Inflections
- attr_reader :gerunds
+module Inflectious
+end
- def gerunds
- @gerunds ||= []
- end
-
- end
-
- def gerundize(word)
- result = word.to_s.dup
- if word.empty?
- result
- else
- inflections.gerunds.each { |(rule, replacement)| break if result.gsub!(rule, replacement) }
- result == word ? word + 'ing' : result
- end
- end
-
- end
-end
+require 'inflectious/inflector'
+require 'inflections'
+require 'inflectious/string'
\ No newline at end of file