Class: CC::Analyzer::UnitName

Inherits:
Object
  • Object
show all
Defined in:
lib/cc/analyzer/unit_name.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(full_name, local_name) ⇒ UnitName

Returns a new instance of UnitName.



7
8
9
10
# File 'lib/cc/analyzer/unit_name.rb', line 7

def initialize(full_name, local_name)
  @full_name = full_name
  @local_name = local_name
end

Instance Attribute Details

#full_nameObject (readonly)

Returns the value of attribute full_name.



4
5
6
# File 'lib/cc/analyzer/unit_name.rb', line 4

def full_name
  @full_name
end

#local_nameObject (readonly)

Returns the value of attribute local_name.



5
6
7
# File 'lib/cc/analyzer/unit_name.rb', line 5

def local_name
  @local_name
end