Class: Stix2::DomainObject::Malware

Inherits:
Base show all
Defined in:
lib/stix2/domain_objects/malware.rb

Instance Method Summary collapse

Methods inherited from Common

#confidence_scale, #method_missing, #respond_to_missing?

Constructor Details

#initialize(args = {}) ⇒ Malware

Returns a new instance of Malware.


18
19
20
21
22
23
24
# File 'lib/stix2/domain_objects/malware.rb', line 18

def initialize(args = {})
  super
  validate_malware_types! if @strict
  validate_architecture_execution_envs! if @strict
  validate_implementation_languages! if @strict
  validate_capabilities! if @strict
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stix2::Common