Sha256: ce94404ce221ae374653c04db0038009dbcfd567e2bef66ba288afe4fb95725f
Contents?: true
Size: 316 Bytes
Versions: 1
Compression:
Stored size: 316 Bytes
Contents
use ruru::{RString, Object, Class}; pub fn new_pathname_instance(path: &str) -> Class { let mut path_instance = Class::from( Class::from_existing("Pathname").send("allocate", None).value() ); path_instance.instance_variable_set( "@path", RString::new(path).to_any_object() ); path_instance }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faster_path-0.2.4 | src/helpers.rs |