Method: Dhall::Merge.decode

Defined in:
lib/dhall/binary.rb

.decode(record, input, type = nil) ⇒ Object



126
127
128
129
130
131
132
# File 'lib/dhall/binary.rb', line 126

def self.decode(record, input, type=nil)
  new(
    record: Dhall.decode(record),
    input:  Dhall.decode(input),
    type:   type.nil? ? nil : Dhall.decode(type)
  )
end