class ViewComponent::Collection
def collection_variable(object)
def collection_variable(object) if object.respond_to?(:to_ary) object.to_ary else raise InvalidCollectionArgumentError end end
def collection_variable(object) if object.respond_to?(:to_ary) object.to_ary else raise InvalidCollectionArgumentError end end