/// Retrieves an existing `Module` object.
///
/// # Examples
///
/// ```
/// use rutie::{Module, VM};
/// # VM::init();
///
/// let module = Module::new("Record");
///
/// assert_eq!(module, Module::from_existing("Record"));
/// ```
///
/// Ruby:
///
/// ```ruby
/// module Record
/// end
///
/// # get module
///
/// Record
///
/// # or
///
/// Object.const_get('Record')
/// ```
Retrieves an existing `Module` object.
Retrieves an existing ` Module ` object .
pub fn from_existing(name: &str) -> Self {
        let object_module = unsafe { rb_cObject };
        Self::from(class::const_get(object_module, name))
    }
pub fn from_existing ( name : & str ) -> Self { let object_module = unsafe { rb_cObject } ; Self :: from ( class :: const_get ( object_module , name ) ) }
Retrieves an existing `Module` object.
Retrieves an existing ` Module ` object .
name
&str
examples
None
vm::init();
let module = Module::new("Record").

assert_eq!(module, Module::from_existing("Record"));
```



```ruby
module Record
end
let module = Module :: new ( " Record " ) . assert_eq! ( module Module :: from_existing ( " Record " )) ; ` ` ` ` ` ` ruby module Record end
get module
None
or
None