lib/webspicy/scope.rb
def each_resource(&bl)
      return enum_for(:each_resource) unless block_given?
      each_resource_file do |file, folder|
        yield Webspicy.resource(file.load, file, self)
      end
    end
def each_resource(&bl)
      return enum_for(:each_resource) unless block_given?
      each_resource_file do |file, folder|
        yield Webspicy.resource(file.load, file, self)
      end
    end
Yields each resource in the current scope in turn.