Class: BERT::Decoder

Inherits:
Object
  • Object
show all
Defined in:
lib/bert/decoder.rb

Class Method Summary collapse

Class Method Details

.decode(bert) ⇒ Object

Decode a BERT into a Ruby object.

+bert+ is the BERT String

Returns a Ruby object



7
8
9
# File 'lib/bert/decoder.rb', line 7

def self.decode(bert)
  Decode.decode(bert)
end