Class: ErlangTransform

Inherits:
Parslet::Transform
  • Object
show all
Defined in:
lib/inspec/utils/erlang_parser.rb

Defined Under Namespace

Classes: Identifier, Tuple

Class Method Summary collapse

Class Method Details

.assemble_binary(seq) ⇒ Object



156
157
158
159
160
# File 'lib/inspec/utils/erlang_parser.rb', line 156

def self.assemble_binary(seq)
  b = ErlangBitstream.new
  seq.each { |i| b.add(i) }
  b.value
end