Method: Radius::PacketParser#parse
- Defined in:
- lib/orange-more/slices/resources/radius.rb
#parse(string, packet = false) ⇒ Object
52 53 54 55 56 57 |
# File 'lib/orange-more/slices/resources/radius.rb', line 52 def parse(string, packet = false) @stack = [ParseContainerTag.new { |t| t.contents.to_s }] tokenize(string) stack_up(packet) @stack.last.to_s end |