blob: 0a835b5ff97256e75798fef622fef17881ac14e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
module YARD::MRuby::CodeObjects
# A FunctionObject represents a MRuby C API function declaration inside a header inside an include directory
class FunctionObject < YARD::CodeObjects::Base
def initialize(header, name, &block)
super
end
def header
self.namespace
end
# Function's shouln't be namespaced
def path
self.name
end
end
end
|