blob: 519d76c793992d27a48c3c4ea2d6534597ab16bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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 path
self.name
end
def title
super.to_s
end
end
end
|