class Yoda::Parsing::Scopes::Root
Represents root namespace.
Public Instance Methods
body_node()
click to toggle source
# File lib/yoda/parsing/scopes/root.rb, line 10 def body_node body_nodes.first end
body_nodes()
click to toggle source
# File lib/yoda/parsing/scopes/root.rb, line 6 def body_nodes [node.children.last] end
kind()
click to toggle source
# File lib/yoda/parsing/scopes/root.rb, line 14 def kind :root end
scope_name()
click to toggle source
@return [String]
# File lib/yoda/parsing/scopes/root.rb, line 19 def scope_name 'Object' end