---
name: "Lucy::Store::RAMFolder"
section: "3pm"
platform: "linux"
package: "liblucy-perl"
version: "0.3.3-7+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Lucy::Store::RAMFolder"
---

# Lucy::Store::RAMFolder(3pm)

In-memory Folder implementation.

## NAME

Lucy::Store::RAMFolder - In-memory Folder implementation.

## SYNOPSIS

```
    my $folder = Lucy::Store::RAMFolder->new;

    # or sometimes...
    my $folder = Lucy::Store::RAMFolder->new(
        path => $relative_path,
    );
```

## DESCRIPTION

RAMFolder is an entirely in-memory implementation of Lucy::Store::Folder, primarily used for testing and development.

## CONSTRUCTORS

### new( *\[labeled params\]* )

```
    my $folder = Lucy::Store::RAMFolder->new(
        path => $relative_path,   # default: empty string
    );
```

- •

  **path** - Relative path, used for subfolders.

## INHERITANCE

Lucy::Store::RAMFolder isa Lucy::Store::Folder isa Lucy::Object::Obj.
