diff options
| author | Seba Gamboa <[email protected]> | 2017-01-26 22:11:40 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-26 22:11:40 -0800 |
| commit | f443012c63bc8e5f086358479210b4da11b161ee (patch) | |
| tree | 61b6b37b091b7cd2d115e22088064b88d363463a /templates | |
| parent | 4caa5e98ac14feeb8dcb4cf6af4add4aaf228628 (diff) | |
| parent | a1bca6e247872d93d2d3b10ed36f2a3800edda8a (diff) | |
| download | yard-mruby-f443012c63bc8e5f086358479210b4da11b161ee.tar.gz yard-mruby-f443012c63bc8e5f086358479210b4da11b161ee.zip | |
Merge pull request #16 from jmhmccr/yard-0-9-compatibility
Update to Yard >= 0.9.0
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/default/fulldoc/html/setup.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/default/fulldoc/html/setup.rb b/templates/default/fulldoc/html/setup.rb index 43e1e15..0199557 100644 --- a/templates/default/fulldoc/html/setup.rb +++ b/templates/default/fulldoc/html/setup.rb @@ -51,12 +51,12 @@ end # This method removes the namespace from the root node, generates the class list, # and then adds it back into the root node. # -def class_list(root = Registry.root) +def class_list(root = Registry.root, tree = TreeContext.new) return super unless root == Registry.root include_namespace = YARD::MRuby::CodeObjects::HEADERS_ROOT root.instance_eval { children.delete include_namespace } - out = super(root) + out = super(root, tree) root.instance_eval { children.push include_namespace } out end |
