Class: YARD::MRuby::CodeObjects::HeaderBaseObject

Inherits:
CodeObjects::Base
  • Object
show all
Defined in:
lib/yard/mruby/code_objects/header_base_object.rb

Overview

A FunctionObject represents a MRuby C API function declaration inside a header inside an include directory

Direct Known Subclasses

DefineObject, FunctionObject, TypedefObject

Instance Method Summary collapse

Instance Method Details

#headerObject



6
7
8
# File 'lib/yard/mruby/code_objects/header_base_object.rb', line 6

def header
  self.namespace
end

#pathObject

Header objects’s shouln’t be namespaced



11
12
13
# File 'lib/yard/mruby/code_objects/header_base_object.rb', line 11

def path
  self.name.to_s
end