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.14.5 lib/universa/string_utils.rb
universa-3.14.4 lib/universa/string_utils.rb
universa-3.14.3 lib/universa/string_utils.rb
universa-3.14.2.4 lib/universa/string_utils.rb
universa-3.14.2.2 lib/universa/string_utils.rb
universa-3.14.2.1 lib/universa/string_utils.rb
universa-3.13.2.2 lib/universa/string_utils.rb
universa-3.13.2.1 lib/universa/string_utils.rb
universa-3.13.1.1 lib/universa/string_utils.rb
universa-3.12.6.1 lib/universa/string_utils.rb
universa-3.12.4.1 lib/universa/string_utils.rb
universa-3.12.0.2 lib/universa/string_utils.rb
universa-3.11.4.4 lib/universa/string_utils.rb
universa-3.11.4.3 lib/universa/string_utils.rb
universa-3.11.4.2 lib/universa/string_utils.rb
universa-3.11.4.1 lib/universa/string_utils.rb
universa-3.11.3.1 lib/universa/string_utils.rb
universa-3.10.5.3 lib/universa/string_utils.rb
universa-3.10.5.1 lib/universa/string_utils.rb
universa-3.10.2.1 lib/universa/string_utils.rb