Sha256: 64827a9db54480be8b7964ab85249ffcc39319a9299f14aa1b8b124dd338668b

Contents?: true

Size: 173 Bytes

Versions: 49

Compression:

Stored size: 173 Bytes

Contents

module Universa
  refine String do
    def camelize_lower
      first, *rest = split('_').delete_if(&:empty?)
      [first, *rest.map(&:capitalize)].join
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
universa-3.10.1.1 lib/universa/string_utils.rb
universa-3.9.17.2 lib/universa/string_utils.rb
universa-3.9.17.1 lib/universa/string_utils.rb
universa-3.9.15.2 lib/universa/string_utils.rb
universa-3.9.15.1 lib/universa/string_utils.rb
universa-3.9.15 lib/universa/string_utils.rb
universa-3.9.14.7 lib/universa/string_utils.rb
universa-3.9.14.5 lib/universa/string_utils.rb
universa-3.9.14.4 lib/universa/string_utils.rb
universa-3.9.15.pre.p1 lib/universa/string_utils.rb
universa-3.9.14.1 lib/universa/string_utils.rb
universa-3.9.14 lib/universa/string_utils.rb
universa-0.3.3 lib/universa/string_utils.rb
universa-0.3.2 lib/universa/string_utils.rb
universa-0.3.1 lib/universa/string_utils.rb
universa-0.2.6 lib/universa/string_utils.rb
universa-0.2.5 lib/universa/string_utils.rb
universa-0.2.4 lib/universa/string_utils.rb
universa-0.2.3 lib/universa/string_utils.rb
universa-0.2.2 lib/universa/string_utils.rb