~singpolyma/dhall-ruby

be0eee11e48e3372db6acf3dc768d1df21b0ec40 — Stephen Paul Weber 3 years ago e1dfd24
Allow Symbol in yaml-to-dhall
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/yaml-to-dhall
M bin/yaml-to-dhall => bin/yaml-to-dhall +1 -1
@@ 5,4 5,4 @@ require "dhall"
require "yaml"
using Dhall::AsDhall

STDOUT.write(CBOR.encode(YAML.safe_load(STDIN.read).as_dhall))
STDOUT.write(CBOR.encode(YAML.safe_load(STDIN.read, [Symbol]).as_dhall))