Class: Msf::Util::DotNetDeserialization::Assemblies::QualifiedName

Inherits:
Object
  • Object
show all
Defined in:
lib/msf/util/dot_net_deserialization/assemblies.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#assemblyObject (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

#nameObject (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_sObject



38
39
40
# File 'lib/msf/util/dot_net_deserialization/assemblies.rb', line 38

def to_s
  "#{name}, #{assembly}"
end