Class: YARD::MRuby::Handlers::C::Source::ModuleHandler

Inherits:
Base
  • Object
show all
Defined in:
lib/yard/mruby/handlers/c/source/module_handler.rb

Constant Summary collapse

TOP_LEVEL_MODULE =
/([\w]+)\s*=\s*mrb_define_module\s*
  \(
  \s*\w+\s*,
  \s*"(\w+)"\s*
  \)
/mx
NAMESPACED_MODULE =
/([\w]+)\s*=\s*mrb_define_module_under\s*
  \(
  \s*\w+\s*,
  \s*(\w+)\s*,
  \s*"(\w+)"\s*
  \)
/mx

Constants inherited from Base

Base::DEFAULT_NAMESPACES

Method Summary

Methods inherited from Base

#handle_class, #handle_module, #namespace_for_variable