Method: Cborb::Decoding::State#stack_top
- Defined in:
- lib/cborb/decoding/state.rb
#stack_top ⇒ Class
Returns Class constant that inherits Cborb::Decoding::Types::Type on top of stack.
106 107 108 |
# File 'lib/cborb/decoding/state.rb', line 106 def stack_top @stack.last.first end |