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