Sha256: 4e18d33cfa812b9d27c2f8b2372170e8026ee8cecdc4e502a48ec67aec283d8e

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 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 date() -> RClass {
    *memoize!(RClass: class::object().const_get("Date").unwrap())
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
polars-df-0.4.0 ext/polars/src/rb_modules.rs
polars-df-0.3.1 ext/polars/src/rb_modules.rs
polars-df-0.3.0 ext/polars/src/rb_modules.rs
polars-df-0.2.5 ext/polars/src/rb_modules.rs
polars-df-0.2.4 ext/polars/src/rb_modules.rs