lib/solr_cloud/configset.rb in solr_cloud-connection-0.4.0 vs lib/solr_cloud/configset.rb in solr_cloud-connection-0.5.0

- old
+ new

@@ -31,9 +31,11 @@ # @return [Array<Collection>] The collections defined to use this configset def used_by connection.only_collections.select { |coll| coll.configset.name == name } end + alias_method :collections, :used_by + # Are there any collections currently using this configset? # @return [Boolean] def in_use? !used_by.empty? end