# File lib/deltacloud/base_driver/features.rb, line 112 def self.declare_feature(collection, name, &block) feature_decls[collection] ||= [] raise DuplicateFeatureDeclError if feature_decl_for(collection, name) feature_decls[collection] << FeatureDecl.new(name, &block) end