Exception: Stix2::Exception::InvalidIdentifier
- Defined in:
- lib/stix2/exception.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ InvalidIdentifier
constructor
A new instance of InvalidIdentifier.
- #message ⇒ Object
Constructor Details
#initialize(value) ⇒ InvalidIdentifier
Returns a new instance of InvalidIdentifier.
95 96 97 |
# File 'lib/stix2/exception.rb', line 95 def initialize(value) @value = value end |
Instance Method Details
#message ⇒ Object
99 100 101 |
# File 'lib/stix2/exception.rb', line 99 def "Invalid identifier: #{@value}" end |