blob: 36dcdefc9a6e097e7d8a6bb2e86eafeeb0151996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
module Some
module Helpers
def self.header_name_from_dsl(method_name)
method_name
.to_s
.split('_')
.map(&:capitalize)
.join('-')
end
end
end
|