Module: Udb::Code
- Extended by:
- T::Sig
- Included in:
- ExceptionCode, InterruptCode
- Defined in:
- lib/udb/obj/exception_code.rb
Instance Method Summary collapse
-
#display_name ⇒ String
Long-form display name (can include special characters).
-
#num ⇒ Integer
Code, written into *mcause.
-
#var ⇒ String
Field name for an IDL enum.
Instance Method Details
#display_name ⇒ String
Returns Long-form display name (can include special characters).
18 |
# File 'lib/udb/obj/exception_code.rb', line 18 def display_name = T.unsafe(self).data.fetch("display_name") |
#num ⇒ Integer
Returns Code, written into *mcause.
26 |
# File 'lib/udb/obj/exception_code.rb', line 26 def num = T.unsafe(self).data.fetch("num") |
#var ⇒ String
Returns Field name for an IDL enum.
22 |
# File 'lib/udb/obj/exception_code.rb', line 22 def var = T.unsafe(self).name |