lib/yard/code_objects/root_object.rb in yard-0.4.0 vs lib/yard/code_objects/root_object.rb in yard-0.5.0
- old
+ new
@@ -3,8 +3,9 @@
# Represents the root namespace object (the invisible Ruby module that
# holds all top level modules, class and other objects).
class RootObject < ModuleObject
def path; "" end
def inspect; "#<yardoc root>" end
+ def root?; true end
end
end
end
\ No newline at end of file