diff --git a/libimagruby/src/store.rs b/libimagruby/src/store.rs index 08a94c09..43ee203d 100644 --- a/libimagruby/src/store.rs +++ b/libimagruby/src/store.rs @@ -561,7 +561,12 @@ pub mod store { // A RString // fn path() -> RString { - unimplemented!() + itself.get_data(&*STORE_WRAPPER) + .path() + .clone() + .to_str() + .map(RString::new) + .unwrap_or(RString::new("")) } );