Class: Msf::Util::DotNetDeserialization::Assemblies::QualifiedName
- Inherits:
-
Object
- Object
- Msf::Util::DotNetDeserialization::Assemblies::QualifiedName
- Defined in:
- lib/msf/util/dot_net_deserialization/assemblies.rb
Overview
Instance Attribute Summary collapse
-
#assembly ⇒ Object
readonly
Returns the value of attribute assembly.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, assembly) ⇒ QualifiedName
constructor
A new instance of QualifiedName.
- #to_s ⇒ Object
Constructor Details
#initialize(name, assembly) ⇒ QualifiedName
Returns a new instance of QualifiedName.
31 32 33 34 |
# File 'lib/msf/util/dot_net_deserialization/assemblies.rb', line 31 def initialize(name, assembly) @name = name @assembly = assembly end |
Instance Attribute Details
#assembly ⇒ Object (readonly)
Returns the value of attribute assembly.
36 37 38 |
# File 'lib/msf/util/dot_net_deserialization/assemblies.rb', line 36 def assembly @assembly end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
36 37 38 |
# File 'lib/msf/util/dot_net_deserialization/assemblies.rb', line 36 def name @name end |
Instance Method Details
#to_s ⇒ Object
38 39 40 |
# File 'lib/msf/util/dot_net_deserialization/assemblies.rb', line 38 def to_s "#{name}, #{assembly}" end |