Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@

# Documents folder
doc
.yardoc
.yardoc

# Ignore local Bundler installations
/.bundle/
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
yard-cucumber (3.1.0)
yard-cucumber (4.0.0)
cucumber (>= 2.0, < 4.0)
gherkin (>= 4.0, < 6.0)
yard (~> 0.8, >= 0.8.1)
Expand Down
2 changes: 1 addition & 1 deletion lib/templates/default/fulldoc/html/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def generate_full_list(objects,type,options = {})
# 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, tree = TreeContext.new)
def class_list(root = Registry.root, tree = self.class.const_get(:TreeContext).new)
return super unless root == Registry.root

cucumber_namespace = YARD::CodeObjects::Cucumber::CUCUMBER_NAMESPACE
Expand Down