We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a8c23 commit cb87842Copy full SHA for cb87842
lib/puppet/resource_api.rb
@@ -545,6 +545,8 @@ def register_transport(schema)
545
end
546
module_function :register_transport # rubocop:disable Style/AccessModifierDeclarations
547
548
+ # rubocop:disable Layout/EndOfLine
549
+
550
def self.class_name_from_type_name(type_name)
551
type_name.to_s.split('_').map(&:capitalize).join
552
0 commit comments