Sha256: d86f33ee06870986aa800a450c642736c5cc6ba6c128ba43252a603b8d159f16
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
module Evoke # Inflections define new methods on the String class to transform names for # different purposes. module Inflections # Load the inflections. Dir[File.expand_path("../inflections/*.rb", __FILE__)].each {|f| require f } # Add the inflections to the String class. constants.each {|i| String.send(:include, const_get(i)) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
evoke-0.1.2 | lib/evoke/inflections.rb |
evoke-0.1.1 | lib/evoke/inflections.rb |