Sha256: 1de77ffcabc84e23fb6fa2139a349a7e3d367019f1dc00533f53c5ffa866fb53

Contents?: true

Size: 148 Bytes

Versions: 4

Compression:

Stored size: 148 Bytes

Contents

module Hypercuke
  module MiniInflector
    extend self

    def camelize(name)
      name.to_s.split('_').map(&:capitalize).join
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hypercuke-0.5.2 lib/hypercuke/mini_inflector.rb
hypercuke-0.5.1 lib/hypercuke/mini_inflector.rb
hypercuke-0.5.0 lib/hypercuke/mini_inflector.rb
hypercuke-0.4.1 lib/hypercuke/mini_inflector.rb