Impl RStore::path()

This commit is contained in:
Matthias Beyer 2017-01-21 16:13:42 +01:00
parent 158e7aaff5
commit 4f8a14ba1a
1 changed files with 6 additions and 1 deletions

View File

@ -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(""))
}
);