Method: Stix2::DomainObject::Malware#initialize
- Defined in:
- lib/stix2/domain_objects/malware.rb
#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 |