Module: Callgraphy::Utils
- Defined in:
- lib/callgraphy/utils.rb
Overview
Utility methods.
Class Method Summary collapse
Class Method Details
.pascal_case(snake_case) ⇒ Object
5 6 7 |
# File 'lib/callgraphy/utils.rb', line 5 def self.pascal_case(snake_case) snake_case.split("_").map(&:capitalize).join end |