Sha256: 90f65c10c1f237e1d13bae7abd3a277cdaab262dd12b0db543daa6766aac4c8c

Contents?: true

Size: 164 Bytes

Versions: 2

Compression:

Stored size: 164 Bytes

Contents

module Callgraphy
  # Utility methods.
  #
  module Utils
    def self.pascal_case(snake_case)
      snake_case.split("_").map(&:capitalize).join
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
callgraphy-0.2.1 lib/callgraphy/utils.rb
callgraphy-0.2.0 lib/callgraphy/utils.rb