lib/puppet-strings/yard/code_objects/type.rb
# Not sure if this is where this belongs or if providers should only be resolved at
# render-time. For now, this should re-resolve on every call.
# may be able to memoize this
Not sure if this is where this belongs or if providers should only be resolved at
render-time. For now, this should re-resolve on every call.
may be able to memoize this
Not sure if this is where this belongs or if providers should only be resolved at render - time . For now this should re - resolve on every call . may be able to memoize this
def providers
    providers = YARD::Registry.all("puppet_providers_#{name}".intern)
    return providers if providers.empty?
    providers.first.children
  end
def providers providers = YARD :: Registry . all ( "puppet_providers_#{name}" . intern ) return providers if providers . empty? providers . first . children end
Not sure if this is where this belongs or if providers should only be resolved at
render-time.
Not sure if this is where this belongs or if providers should only be resolved at render - time .