Exception: Stix2::Exception::MessageUnsupported
- Defined in:
- lib/stix2/exception.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ MessageUnsupported
constructor
A new instance of MessageUnsupported.
- #message ⇒ Object
Constructor Details
#initialize(type) ⇒ MessageUnsupported
Returns a new instance of MessageUnsupported.
17 18 19 |
# File 'lib/stix2/exception.rb', line 17 def initialize(type) @type = type end |
Instance Method Details
#message ⇒ Object
21 22 23 |
# File 'lib/stix2/exception.rb', line 21 def "Message unsupported: '#{@type}'" end |