Sha256: b0867199edd6e5a703ff203de6587f744cc2329e2bf30cdb946383580edd9520
Contents?: true
Size: 629 Bytes
Versions: 1
Compression:
Stored size: 629 Bytes
Contents
module YARD::MRuby::CodeObjects # A HeaderObject represents a MRuby header inside an include directory # It groups C Functions and define macros. class HeaderObject < YARD::CodeObjects::NamespaceObject def functions children.find_all {|d| d.is_a?(FunctionObject) } end def defines children.find_all {|d| d.is_a?(DefineObject) } end def typedefs children.find_all {|d| d.is_a?(TypedefObject) } end def path self.name end def title super.to_s end def inheritance_tree(*args) return [self] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yard-mruby-0.2.3 | lib/yard/mruby/code_objects/header_object.rb |