lib/nanoc/cli/commands/show-plugins.rb in nanoc-4.1.1 vs lib/nanoc/cli/commands/show-plugins.rb in nanoc-4.1.2

- old
+ new

@@ -71,16 +71,16 @@ PLUGIN_CLASS_ORDER = [ Nanoc::Filter, Nanoc::DataSource, Nanoc::Extra::Deployer, - ] unless defined? PLUGIN_CLASS_ORDER + ].freeze unless defined? PLUGIN_CLASS_ORDER PLUGIN_CLASSES = { Nanoc::Filter => 'Filters', Nanoc::DataSource => 'Data Sources', Nanoc::Extra::Deployer => 'Deployers', - } unless defined? PLUGIN_CLASSES + }.freeze unless defined? PLUGIN_CLASSES def name_for_plugin_class(klass) PLUGIN_CLASSES[klass] end end