Skip to content

Commit

Permalink
Fix ruby cop warning
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Didrichsen <gavin.didrichsen@gmail.com>
  • Loading branch information
gavindidrichsen committed Jun 20, 2024
1 parent 173ba17 commit 8a0fb7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def function_method(name, parts = {})
# exposed hack.
return nil unless Puppet::Parser::Functions.function(name)

scope.method("function_#{name}".to_sym)
scope.method(:"function_#{name}")
end
module_function :function_method
end
Expand Down

0 comments on commit 8a0fb7a

Please sign in to comment.