module DAP::Relation

Relationships between DAP types

Public Class Methods

supported!(klazz) click to toggle source

Raises an error if `klazz` is not an allowed DAP type

# File lib/dap/relation.rb, line 4
def self.supported!(klazz)
  raise "Unsupported property class #{klazz}" unless klazz < DAP::Base || klazz < DAP::Enum
end