[−][src]Trait mruby::def::ClassLike
ClassLike
trait unifies class::Spec
and module::Spec
.
Required methods
fn add_method(&mut self, name: &str, method: Method, args: mrb_aspec)
fn add_self_method(&mut self, name: &str, method: Method, args: mrb_aspec)
fn cstring(&self) -> &CString
fn name(&self) -> &str
fn enclosing_scope(&self) -> Option<EnclosingRubyScope>
fn rclass(&self, interp: &Mrb) -> Option<*mut RClass>
Provided methods
fn fqname(&self) -> String
Compute the fully qualified name of a Class or module. See
EnclosingRubyScope::fqname
.