Sha256: f93c93b2b619ec286a678dcba4cf99f126fd56676a2fcb7f60f71fef6dba6d1c
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 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 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.0 | lib/yard/mruby/code_objects/header_object.rb |