Class: Stix2::CyberobservableObject::Ipv4Addr

Inherits:
Base show all
Defined in:
lib/stix2/cyberobservable_objects/ipv4_addr.rb

Instance Method Summary collapse

Methods inherited from Stix2::Common

#confidence_scale, #method_missing, #respond_to_missing?

Constructor Details

#initialize(args = {}) ⇒ Ipv4Addr

Returns a new instance of Ipv4Addr.



10
11
12
13
# File 'lib/stix2/cyberobservable_objects/ipv4_addr.rb', line 10

def initialize(args = {})
  super
  validate_ipv4! if @strict
end

Dynamic Method Handling

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