Sha256: 12b79cfe57cece0cc336661aac1e17dd5bcc18b38d58a4e7519962bb4c7a6024

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

use magnus::{class, memoize, Module, RClass, RModule};

pub(crate) fn polars() -> RModule {
    *memoize!(RModule: class::object().const_get("Polars").unwrap())
}

pub(crate) fn series() -> RClass {
    *memoize!(RClass: polars().const_get("Series").unwrap())
}

pub(crate) fn utils() -> RModule {
    *memoize!(RModule: polars().const_get("Utils").unwrap())
}

pub(crate) fn date() -> RClass {
    *memoize!(RClass: class::object().const_get("Date").unwrap())
}

pub(crate) fn datetime() -> RClass {
    *memoize!(RClass: class::object().const_get("DateTime").unwrap())
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polars-df-0.5.0 ext/polars/src/rb_modules.rs