Class: Stix2::CyberobservableObject::Ipv4Addr
- Inherits:
-
Base
- Object
- Hashie::Dash
- Base
- Stix2::Common
- Base
- Stix2::CyberobservableObject::Ipv4Addr
- Defined in:
- lib/stix2/cyberobservable_objects/ipv4_addr.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Ipv4Addr
constructor
A new instance of Ipv4Addr.
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