Class: CC::Analyzer::UnitName
- Inherits:
-
Object
- Object
- CC::Analyzer::UnitName
- Defined in:
- lib/cc/analyzer/unit_name.rb
Instance Attribute Summary collapse
-
#full_name ⇒ Object
readonly
Returns the value of attribute full_name.
-
#local_name ⇒ Object
readonly
Returns the value of attribute local_name.
Instance Method Summary collapse
-
#initialize(full_name, local_name) ⇒ UnitName
constructor
A new instance of UnitName.
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_name ⇒ Object (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_name ⇒ Object (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 |