class Orbacle::GlobalTree::Constant
Attributes
definition_id[R]
location[R]
name[R]
scope[R]
Public Class Methods
new(name, scope, location, definition_id = nil)
click to toggle source
# File lib/orbacle/global_tree.rb, line 70 def initialize(name, scope, location, definition_id = nil) @name = name @scope = scope @location = location @definition_id = definition_id end
Public Instance Methods
==(other)
click to toggle source
# File lib/orbacle/global_tree.rb, line 79 def ==(other) @name == other.name && @scope == other.scope && @location == other.location && @definition_id == other.definition_id end
full_name()
click to toggle source
# File lib/orbacle/global_tree.rb, line 86 def full_name [*scope.elems, @name].join("::") end