lib/nanoc/base/plugin_registry.rb in nanoc-3.5.0b1 vs lib/nanoc/base/plugin_registry.rb in nanoc-3.5.0b2
- old
+ new
@@ -130,11 +130,10 @@
end
# @param [Class] superclass The superclass of the plugin. For example:
# {Nanoc::Filter}, {Nanoc::Extra::VCS}.
#
- # @param [Class, String] class_or_name The class to get the identifiers for.
- # This can also be a string containing the name of the class.
+ # @param [Class] klass The class to get the identifiers for.
#
# @return [Array<Symbol>] An array of identifiers for the given class
def identifiers_of(superclass, klass)
(@classes_to_identifiers[superclass] || {})[name_for_class(klass)] || []
end