Sha256: 923365e1cd7662d216a16de53c9bbcb426807e4a5e0243912462da7d576097fa
Contents?: true
Size: 201 Bytes
Versions: 4
Compression:
Stored size: 201 Bytes
Contents
# frozen_string_literal: true module Motoko module Utils module SnakeToCamel def snake_to_camel_case(subject) subject.split('_').map(&:capitalize).join end end end end
Version data entries
4 entries across 4 versions & 1 rubygems