Sha256: bca6bc7f7ae712366bbb5cb6ff4cd74f6fd1f3060754c8cc9798de616cb0e846
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the MIT license. module Ramaze module CoreExtensions # Extensions for String module String ## # Simple transformation to CamelCase from snake_case # # @example # 'foo_bar'.camel_case # => 'FooBar' # def camel_case split('_').map{|e| e.capitalize}.join end end # String end # CoreExtensions end # Ramaze
Version data entries
5 entries across 5 versions & 1 rubygems